Searched refs:nh_len (Results 1 – 3 of 3) sorted by relevance
/net/openvswitch/ |
D | flow.c | 387 unsigned int nh_len; in parse_ipv6hdr() local 425 nh_len = payload_ofs - nh_ofs; in parse_ipv6hdr() 426 skb_set_transport_header(skb, nh_ofs + nh_len); in parse_ipv6hdr() 428 return nh_len; in parse_ipv6hdr() 552 int nh_len) in parse_icmpv6() argument 817 int nh_len; /* IPv6 Header + Extensions */ in key_extract_l3l4() local 819 nh_len = parse_ipv6hdr(skb, key); in key_extract_l3l4() 820 if (unlikely(nh_len < 0)) { in key_extract_l3l4() 821 switch (nh_len) { in key_extract_l3l4() 831 error = nh_len; in key_extract_l3l4() [all …]
|
/net/netfilter/ipvs/ |
D | ip_vs_core.c | 1052 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/ |
D | filter.c | 3494 int nh_len = flags & BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 ? in bpf_skb_net_grow() local 3498 skb_set_transport_header(skb, mac_len + nh_len); in bpf_skb_net_grow()
|