Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv4/
Dip_input.c322 int err, drop_reason; in ip_rcv_finish_core() local
325 drop_reason = SKB_DROP_REASON_NOT_SPECIFIED; in ip_rcv_finish_core()
416 drop_reason = SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST; in ip_rcv_finish_core()
424 kfree_skb_reason(skb, drop_reason); in ip_rcv_finish_core()
429 drop_reason = SKB_DROP_REASON_IP_RPFILTER; in ip_rcv_finish_core()
459 int drop_reason; in ip_rcv_core() local
467 drop_reason = SKB_DROP_REASON_OTHERHOST; in ip_rcv_core()
479 drop_reason = SKB_DROP_REASON_NOT_SPECIFIED; in ip_rcv_core()
516 drop_reason = SKB_DROP_REASON_PKT_TOO_SMALL; in ip_rcv_core()
545 drop_reason = SKB_DROP_REASON_IP_CSUM; in ip_rcv_core()
[all …]
Dtcp_ipv4.c1986 enum skb_drop_reason drop_reason; in tcp_v4_rcv() local
1995 drop_reason = SKB_DROP_REASON_NOT_SPECIFIED; in tcp_v4_rcv()
2008 drop_reason = SKB_DROP_REASON_PKT_TOO_SMALL; in tcp_v4_rcv()
2042 drop_reason = SKB_DROP_REASON_XFRM_POLICY; in tcp_v4_rcv()
2044 drop_reason = tcp_inbound_md5_hash(sk, skb, in tcp_v4_rcv()
2047 if (unlikely(drop_reason)) { in tcp_v4_rcv()
2080 drop_reason = SKB_DROP_REASON_SOCKET_FILTER; in tcp_v4_rcv()
2113 drop_reason = SKB_DROP_REASON_TCP_MINTTL; in tcp_v4_rcv()
2119 drop_reason = SKB_DROP_REASON_XFRM_POLICY; in tcp_v4_rcv()
2123 drop_reason = tcp_inbound_md5_hash(sk, skb, &iph->saddr, in tcp_v4_rcv()
[all …]
Dudp.c2043 int drop_reason; in __udp_queue_rcv_skb() local
2049 drop_reason = SKB_DROP_REASON_SOCKET_RCVBUFF; in __udp_queue_rcv_skb()
2053 drop_reason = SKB_DROP_REASON_PROTO_MEM; in __udp_queue_rcv_skb()
2056 kfree_skb_reason(skb, drop_reason); in __udp_queue_rcv_skb()
2074 int drop_reason = SKB_DROP_REASON_NOT_SPECIFIED; in udp_queue_rcv_one_skb() local
2082 drop_reason = SKB_DROP_REASON_XFRM_POLICY; in udp_queue_rcv_one_skb()
2164 drop_reason = SKB_DROP_REASON_SOCKET_FILTER; in udp_queue_rcv_one_skb()
2174 drop_reason = SKB_DROP_REASON_UDP_CSUM; in udp_queue_rcv_one_skb()
2179 kfree_skb_reason(skb, drop_reason); in udp_queue_rcv_one_skb()
2373 int drop_reason; in __udp4_lib_rcv() local
[all …]
/linux-6.6.21/drivers/net/
Dtap.c327 enum skb_drop_reason drop_reason; in tap_handle_frame() local
350 drop_reason = SKB_DROP_REASON_SKB_GSO_SEG; in tap_handle_frame()
356 drop_reason = SKB_DROP_REASON_FULL_RING; in tap_handle_frame()
366 drop_reason = SKB_DROP_REASON_FULL_RING; in tap_handle_frame()
367 kfree_skb_reason(skb, drop_reason); in tap_handle_frame()
368 kfree_skb_list_reason(next, drop_reason); in tap_handle_frame()
381 drop_reason = SKB_DROP_REASON_SKB_CSUM; in tap_handle_frame()
385 drop_reason = SKB_DROP_REASON_FULL_RING; in tap_handle_frame()
398 kfree_skb_reason(skb, drop_reason); in tap_handle_frame()
652 enum skb_drop_reason drop_reason; in tap_get_user() local
[all …]
Dtun.c1074 enum skb_drop_reason drop_reason; in tun_net_xmit() local
1085 drop_reason = SKB_DROP_REASON_DEV_READY; in tun_net_xmit()
1098 drop_reason = SKB_DROP_REASON_TAP_TXFILTER; in tun_net_xmit()
1104 drop_reason = SKB_DROP_REASON_SOCKET_FILTER; in tun_net_xmit()
1110 drop_reason = SKB_DROP_REASON_TAP_FILTER; in tun_net_xmit()
1115 drop_reason = SKB_DROP_REASON_NOMEM; in tun_net_xmit()
1120 drop_reason = SKB_DROP_REASON_SKB_UCOPY_FAULT; in tun_net_xmit()
1134 drop_reason = SKB_DROP_REASON_FULL_RING; in tun_net_xmit()
1153 kfree_skb_reason(skb, drop_reason); in tun_net_xmit()
1766 enum skb_drop_reason drop_reason = SKB_DROP_REASON_NOT_SPECIFIED; in tun_get_user() local
[all …]
/linux-6.6.21/net/ipv6/
Dtcp_ipv6.c1589 enum skb_drop_reason drop_reason; in tcp_v6_rcv() local
1599 drop_reason = SKB_DROP_REASON_NOT_SPECIFIED; in tcp_v6_rcv()
1614 drop_reason = SKB_DROP_REASON_PKT_TOO_SMALL; in tcp_v6_rcv()
1644 drop_reason = SKB_DROP_REASON_XFRM_POLICY; in tcp_v6_rcv()
1646 drop_reason = tcp_inbound_md5_hash(sk, skb, in tcp_v6_rcv()
1649 if (drop_reason) { in tcp_v6_rcv()
1679 drop_reason = SKB_DROP_REASON_SOCKET_FILTER; in tcp_v6_rcv()
1712 drop_reason = SKB_DROP_REASON_TCP_MINTTL; in tcp_v6_rcv()
1718 drop_reason = SKB_DROP_REASON_XFRM_POLICY; in tcp_v6_rcv()
1722 drop_reason = tcp_inbound_md5_hash(sk, skb, &hdr->saddr, &hdr->daddr, in tcp_v6_rcv()
[all …]
Dudp.c651 enum skb_drop_reason drop_reason; in __udpv6_queue_rcv_skb() local
657 drop_reason = SKB_DROP_REASON_SOCKET_RCVBUFF; in __udpv6_queue_rcv_skb()
661 drop_reason = SKB_DROP_REASON_PROTO_MEM; in __udpv6_queue_rcv_skb()
664 kfree_skb_reason(skb, drop_reason); in __udpv6_queue_rcv_skb()
682 enum skb_drop_reason drop_reason = SKB_DROP_REASON_NOT_SPECIFIED; in udpv6_queue_rcv_one_skb() local
687 drop_reason = SKB_DROP_REASON_XFRM_POLICY; in udpv6_queue_rcv_one_skb()
752 drop_reason = SKB_DROP_REASON_SOCKET_FILTER; in udpv6_queue_rcv_one_skb()
763 drop_reason = SKB_DROP_REASON_UDP_CSUM; in udpv6_queue_rcv_one_skb()
768 kfree_skb_reason(skb, drop_reason); in udpv6_queue_rcv_one_skb()
/linux-6.6.21/net/core/
Dsock.c521 enum skb_drop_reason drop_reason; in sock_queue_rcv_skb_reason() local
526 drop_reason = SKB_DROP_REASON_SOCKET_FILTER; in sock_queue_rcv_skb_reason()
532 drop_reason = SKB_DROP_REASON_SOCKET_RCVBUFF; in sock_queue_rcv_skb_reason()
535 drop_reason = SKB_DROP_REASON_PROTO_MEM; in sock_queue_rcv_skb_reason()
538 drop_reason = SKB_NOT_DROPPED_YET; in sock_queue_rcv_skb_reason()
543 *reason = drop_reason; in sock_queue_rcv_skb_reason()