Home
last modified time | relevance | path

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

/net/openvswitch/
Dflow.c248 unsigned int nh_len; in parse_ipv6hdr() local
284 nh_len = payload_ofs - nh_ofs; in parse_ipv6hdr()
285 skb_set_transport_header(skb, nh_ofs + nh_len); in parse_ipv6hdr()
287 return nh_len; in parse_ipv6hdr()
411 int nh_len) in parse_icmpv6() argument
676 int nh_len; /* IPv6 Header + Extensions */ in key_extract_l3l4() local
678 nh_len = parse_ipv6hdr(skb, key); in key_extract_l3l4()
679 if (unlikely(nh_len < 0)) { in key_extract_l3l4()
680 switch (nh_len) { in key_extract_l3l4()
690 error = nh_len; in key_extract_l3l4()
[all …]
/net/netfilter/ipvs/
Dip_vs_core.c1052 static inline int is_sctp_abort(const struct sk_buff *skb, int nh_len) in is_sctp_abort() argument
1055 sch = skb_header_pointer(skb, nh_len + sizeof(struct sctphdr), in is_sctp_abort()
1064 static inline int is_tcp_reset(const struct sk_buff *skb, int nh_len) in is_tcp_reset() argument
1068 th = skb_header_pointer(skb, nh_len, sizeof(_tcph), &_tcph); in is_tcp_reset()
/net/core/
Dfilter.c3488 int nh_len = flags & BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 ? in bpf_skb_net_grow() local
3492 skb_set_transport_header(skb, mac_len + nh_len); in bpf_skb_net_grow()