Home
last modified time | relevance | path

Searched refs:ifehdr (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ife/
H A Dife.c41 struct ifeheadr *ifehdr; in ife_encode() local
58 ifehdr = (struct ifeheadr *) (skb->data + skboff); in ife_encode()
60 ifehdr->metalen = htons(metalen); in ife_encode()
62 return ifehdr->tlv_data; in ife_encode()
68 struct ifeheadr *ifehdr; in ife_decode() local
75 ifehdr = (struct ifeheadr *) (skb->data + skb->dev->hard_header_len); in ife_decode()
76 ifehdrln = ntohs(ifehdr->metalen); in ife_decode()
85 ifehdr = (struct ifeheadr *)(skb->data + skb->dev->hard_header_len); in ife_decode()
90 return &ifehdr->tlv_data; in ife_decode()