Re: [PATCH net-next v3 11/12] doc/netlink: Add spec for rt link messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Donald Hunter <donald.hunter@xxxxxxxxx> writes:
>
> +operations:
> +  enum-model: directional
> +  list:
> +    -
> +      name: newlink
> +      doc: Create a new link.
> +      attribute-set: link-attrs
> +      fixed-header: ifinfomsg
> +      do:
> +        request:
> +          value: 16
> +          attributes:
> +            - ifi-index
> +    -
> +      name: dellink
> +      doc: Delete an existing link.
> +      attribute-set: link-attrs
> +      fixed-header: ifinfomsg
> +      do:
> +        request:
> +          value: 16
> +          attributes:
> +            - ifi-index
> +    -
> +      name: getlink
> +      doc: Get / dump information about a link.
> +      attribute-set: link-attrs
> +      fixed-header: ifinfomsg
> +      do:
> +        request:
> +          value: 18
> +          attributes:
> +            - ifi-index
> +        reply:
> +          value: 16
> +          attributes:
> +            - ifi-index
> +    -
> +      name: setlink
> +      doc: Set information about a link.
> +      value: 19
> +      attribute-set: link-attrs
> +      fixed-header: ifinfomsg
> +      do:
> +        request:
> +          attributes:
> +            - ifname
> +    -
> +      name: getstats
> +      doc: Get / dump link stats.
> +      attribute-set: stats-attrs
> +      fixed-header: if_stats_msg
> +      dump:
> +        request:
> +          value: 94
> +          attributes:
> +            - ifindex
> +        reply:
> +          value: 92

The operations are missing detailed attribute lists. I'll fix in a v4.

> +mcast-groups:
> +  list:
> +    -
> +      name: rtnlgrp-link
> +      value: 1



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux