Thomas Graf 0076824492 [NETLINK] Routing attribute related shortcuts
RTA_GET_U(32|64)(tlv)
   Assumes TLV is a u32/u64 field and returns its value.

 RTA_GET_[M]SECS(tlv)
   Assumes TLV is a u64 and transports jiffies converted
   to seconds or milliseconds and returns its value.

 RTA_PUT_U(32|64)(skb, type, value)
   Appends %value as fixed u32/u64 to %skb as TLV %type.

 RTA_PUT_[M]SECS(skb, type, jiffies)
   Converts %jiffies to secs/msecs and appends it as u64
   to %skb as TLV %type.

 RTA_PUT_STRING(skb, type, string)
   Appends %NUL terminated %string to %skb as TLV %type.

 RTA_NEST(skb, type)
   Starts a nested TLV %type and returns the nesting handle.

 RTA_NEST_END(skb, nesting_handle)
   Finishes the nested TLV %nesting_handle, must be called
   symmetric to RTA_NEST(). Returns skb->len

 RTA_NEST_CANCEL(skb, nesting_handle)
   Cancel the nested TLV %nesting_handle and trim nested TLV
   from skb again, returns -1.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-06-18 22:50:38 -07:00
..
2005-04-16 15:24:09 -07:00
2005-05-05 16:36:47 -07:00
2005-05-20 12:53:50 -05:00
2005-05-01 08:59:03 -07:00
2005-05-15 18:31:07 -04:00
2005-05-19 22:43:37 -07:00
2005-05-28 02:11:12 -05:00
2005-05-01 08:58:36 -07:00
2005-05-15 22:24:12 -04:00
2005-05-05 14:25:59 -07:00
2005-06-18 22:47:21 -07:00
2005-04-25 18:32:12 -07:00
2005-05-01 08:59:02 -07:00
2005-05-20 12:53:50 -05:00
2005-06-02 16:48:05 -07:00
2005-06-18 22:46:19 -07:00
2005-05-01 08:59:12 -07:00
2005-04-18 21:57:32 -07:00
2005-06-18 22:47:59 -07:00
2005-04-18 17:39:21 -07:00
2005-06-03 00:04:30 -07:00
2005-05-24 17:05:20 -07:00