Re: [patch net-next 1/8] Introduce ife encapsulation module From: David Miller <davem@davemloft.net> Date: 2016-11-10 19:18:00 From: Jiri Pirko <jiri@resnulli.us> Date: Thu, 10 Nov 2016 12:23:01 +0100 +void *ife_encode(struct sk_buff *skb, u16 metalen) metalen is u16 + metalen = htons(metalen); htons() returns be16. +int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, const void *dval) +{ + u32 *tlv = (u32 *) (skbdata); ...+ *tlv = htonl(htlv); Similar situation here.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help