Searched refs:skb_in (Results 1 – 6 of 6) sorted by relevance
/net/ipv6/ |
D | ip6_icmp.c | 64 void icmpv6_ndo_send(struct sk_buff *skb_in, u8 type, u8 code, __u32 info) in icmpv6_ndo_send() argument 72 ct = nf_ct_get(skb_in, &ctinfo); in icmpv6_ndo_send() 74 __icmpv6_send(skb_in, type, code, info, &parm); in icmpv6_ndo_send() 78 if (skb_shared(skb_in)) in icmpv6_ndo_send() 79 skb_in = cloned_skb = skb_clone(skb_in, GFP_ATOMIC); in icmpv6_ndo_send() 81 if (unlikely(!skb_in || skb_network_header(skb_in) < skb_in->head || in icmpv6_ndo_send() 82 (skb_network_header(skb_in) + sizeof(struct ipv6hdr)) > in icmpv6_ndo_send() 83 skb_tail_pointer(skb_in) || skb_ensure_writable(skb_in, in icmpv6_ndo_send() 84 skb_network_offset(skb_in) + sizeof(struct ipv6hdr)))) in icmpv6_ndo_send() 87 orig_ip = ipv6_hdr(skb_in)->saddr; in icmpv6_ndo_send() [all …]
|
/net/ipv4/ |
D | icmp.c | 484 struct sk_buff *skb_in, in icmp_route_lookup() argument 505 route_lookup_dev = icmp_get_route_lookup_dev(skb_in); in icmp_route_lookup() 508 security_skb_classify_flow(skb_in, flowi4_to_flowi(fl4)); in icmp_route_lookup() 509 rt = ip_route_output_key_hash(net, fl4, skb_in); in icmp_route_lookup() 526 err = xfrm_decode_session_reverse(skb_in, flowi4_to_flowi(&fl4_dec), AF_INET); in icmp_route_lookup() 546 orefdst = skb_in->_skb_refdst; /* save old refdst */ in icmp_route_lookup() 547 skb_dst_set(skb_in, NULL); in icmp_route_lookup() 548 err = ip_route_input(skb_in, fl4_dec.daddr, fl4_dec.saddr, in icmp_route_lookup() 552 rt2 = skb_rtable(skb_in); in icmp_route_lookup() 553 skb_in->_skb_refdst = orefdst; /* restore old refdst */ in icmp_route_lookup() [all …]
|
/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 170 void nf_send_unreach(struct sk_buff *skb_in, int code, int hook) in nf_send_unreach() argument 172 struct iphdr *iph = ip_hdr(skb_in); in nf_send_unreach() 178 if (skb_csum_unnecessary(skb_in) || !nf_reject_verify_csum(proto)) { in nf_send_unreach() 179 icmp_send(skb_in, ICMP_DEST_UNREACH, code, 0); in nf_send_unreach() 183 if (nf_ip_checksum(skb_in, hook, ip_hdrlen(skb_in), proto) == 0) in nf_send_unreach() 184 icmp_send(skb_in, ICMP_DEST_UNREACH, code, 0); in nf_send_unreach()
|
/net/hsr/ |
D | hsr_netlink.c | 231 static int hsr_get_node_status(struct sk_buff *skb_in, struct genl_info *info) in hsr_get_node_status() argument 275 msg_head = genlmsg_put(skb_out, NETLINK_CB(skb_in).portid, in hsr_get_node_status() 353 netlink_ack(skb_in, nlmsg_hdr(skb_in), -EINVAL, NULL); in hsr_get_node_status() 367 static int hsr_get_node_list(struct sk_buff *skb_in, struct genl_info *info) in hsr_get_node_list() argument 402 msg_head = genlmsg_put(skb_out, NETLINK_CB(skb_in).portid, in hsr_get_node_list() 444 netlink_ack(skb_in, nlmsg_hdr(skb_in), -EINVAL, NULL); in hsr_get_node_list()
|
D | hsr_forward.c | 86 static struct sk_buff *create_stripped_skb(struct sk_buff *skb_in, in create_stripped_skb() argument 93 skb_pull(skb_in, HSR_HLEN); in create_stripped_skb() 94 skb = __pskb_copy(skb_in, skb_headroom(skb_in) - HSR_HLEN, GFP_ATOMIC); in create_stripped_skb() 95 skb_push(skb_in, HSR_HLEN); in create_stripped_skb() 107 src = skb_mac_header(skb_in); in create_stripped_skb()
|
/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 239 void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, in nf_send_unreach6() argument 242 if (!reject6_csum_ok(skb_in, hooknum)) in nf_send_unreach6() 245 if (hooknum == NF_INET_LOCAL_OUT && skb_in->dev == NULL) in nf_send_unreach6() 246 skb_in->dev = net->loopback_dev; in nf_send_unreach6() 248 icmpv6_send(skb_in, ICMPV6_DEST_UNREACH, code, 0); in nf_send_unreach6()
|