Home
last modified time | relevance | path

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

/openbmc/linux/net/netfilter/
H A Dnft_inner.c192 struct genevehdr *gnvh, _gnvh; in nft_inner_parse_tunhdr() local
194 gnvh = skb_header_pointer(pkt->skb, pkt->inneroff, in nft_inner_parse_tunhdr()
196 if (!gnvh) in nft_inner_parse_tunhdr()
199 *off += gnvh->opt_len * 4; in nft_inner_parse_tunhdr()
/openbmc/linux/drivers/net/
H A Dgeneve.c221 struct genevehdr *gnvh = geneve_hdr(skb); in geneve_rx() local
230 flags = TUNNEL_KEY | (gnvh->oam ? TUNNEL_OAM : 0) | in geneve_rx()
231 (gnvh->critical ? TUNNEL_CRIT_OPT : 0); in geneve_rx()
234 vni_to_tunnel_id(gnvh->vni), in geneve_rx()
235 gnvh->opt_len * 4); in geneve_rx()
242 gnvh->options, gnvh->opt_len * 4, in geneve_rx()
248 if (gnvh->critical) { in geneve_rx()
258 if (gnvh->proto_type == htons(ETH_P_TEB)) { in geneve_rx()
773 struct genevehdr *gnvh; in geneve_build_skb() local
791 gnvh = __skb_push(skb, sizeof(*gnvh) + info->options_len); in geneve_build_skb()
[all …]