/linux/samples/bpf/ |
H A D | xdp_sample_user.c | 61 #define DROP(drop) drop, "drop/s" argument 116 __u64 drop; member 126 __u64 drop; member 138 __u64 drop; member 653 double t, pps, drop, err; in stats_get_rx_cnt() local 666 drop = calc_drop_pps(r, p, t); in stats_get_rx_cnt() 668 if (!pps && !drop && !err) in stats_get_rx_cnt() 674 str, PPS(pps), DROP(drop), ERR(err)); in stats_get_rx_cnt() 679 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt() 683 out->rx_cnt.drop = drop; in stats_get_rx_cnt() [all …]
|
H A D | xdp_router_ipv4.bpf.c | 89 goto drop; in xdp_router_ipv4_prog() 99 goto drop; in xdp_router_ipv4_prog() 116 goto drop; in xdp_router_ipv4_prog() 139 goto drop; in xdp_router_ipv4_prog() 144 goto drop; in xdp_router_ipv4_prog() 149 goto drop; in xdp_router_ipv4_prog() 182 drop: in xdp_router_ipv4_prog()
|
/linux/lib/zlib_inflate/ |
H A D | inftrees.c | 31 unsigned drop; /* code bits to drop for sub-table */ in zlib_inflate_table() local 192 drop = 0; /* current bits to drop from code for index */ in zlib_inflate_table() 204 this.bits = (unsigned char)(len - drop); in zlib_inflate_table() 219 incr = 1U << (len - drop); in zlib_inflate_table() 224 next[(huff >> drop) + fill] = this; in zlib_inflate_table() 248 if (drop == 0) in zlib_inflate_table() 249 drop = root; in zlib_inflate_table() 255 curr = len - drop; in zlib_inflate_table() 257 while (curr + drop < max) { in zlib_inflate_table() 258 left -= count[curr + drop]; in zlib_inflate_table() [all …]
|
/linux/Documentation/networking/devlink/ |
H A D | devlink-trap.rst | 38 port). This is especially useful for drop traps (see :ref:`Trap-Types`) 62 | devlink | (non-drop traps) 91 * ``drop``: Trapped packets were dropped by the underlying device. Packets 103 the kernel's Rx path, but not reported to the kernel's drop monitor. 115 * ``drop``: The packet is dropped by the underlying device and a copy is not 135 - ``drop`` 136 - Traps incoming packets that the device decided to drop because of a 139 - ``drop`` 140 - Traps incoming packets that the device decided to drop in case of VLAN 144 - ``drop`` [all …]
|
H A D | prestera.rst | 116 - ``drop`` 119 - ``drop`` 122 - ``drop`` 125 - ``drop`` 128 - ``drop`` 131 - ``drop`` 134 - ``drop`` 137 - ``drop`` 140 - ``drop`` 141 …- Drops non-conforming packets (dropped by Ingress policer, metering drop), e.g. packet rate excee…
|
/linux/net/ipv4/ |
H A D | ip_forward.c | 94 goto drop; in ip_forward() 97 goto drop; in ip_forward() 100 goto drop; in ip_forward() 104 goto drop; in ip_forward() 123 goto drop; in ip_forward() 140 goto drop; in ip_forward() 145 goto drop; in ip_forward() 171 goto drop; in ip_forward() 178 drop: in ip_forward()
|
H A D | tunnel4.c | 100 goto drop; in tunnel4_rcv() 108 drop: in tunnel4_rcv() 146 goto drop; in tunnel64_rcv() 154 drop: in tunnel64_rcv() 166 goto drop; in tunnelmpls4_rcv() 174 drop: in tunnelmpls4_rcv()
|
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | tc_flower.sh | 102 $tcflags dst_ip 192.0.2.2 action drop 111 $tcflags dst_ip 198.51.100.2 action drop 148 $tcflags dst_ip 192.0.2.2 action drop 150 $tcflags dst_ip 192.0.2.2 action drop 167 $tcflags dst_ip 192.0.2.2 action drop 196 $tcflags dst_ip 192.0.2.2 action drop 198 $tcflags dst_ip 192.0.0.0/8 action drop 215 $tcflags dst_ip 192.0.2.0/24 action drop 303 $tcflags dst_ip 192.0.2.2 action drop 306 $tcflags dst_ip 192.0.2.2 action drop [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | tc_flower.sh | 45 $tcflags dst_mac $dummy_mac action drop 47 $tcflags dst_mac $h2mac action drop 71 $tcflags src_mac $dummy_mac action drop 73 $tcflags src_mac $h1mac action drop 95 $tcflags dst_ip 198.51.100.2 action drop 97 $tcflags dst_ip 192.0.2.2 action drop 99 $tcflags dst_ip 192.0.2.0/24 action drop 129 $tcflags src_ip 198.51.100.1 action drop 131 $tcflags src_ip 192.0.2.1 action drop 133 $tcflags src_ip 192.0.2.0/24 action drop [all …]
|
H A D | tc_flower_cfm.sh | 61 flower cfm op 47 action drop 63 flower cfm op 43 action drop 97 flower cfm mdl 5 action drop 99 flower cfm mdl 3 action drop 101 flower cfm mdl 0 action drop 144 flower cfm mdl 5 op 41 action drop 146 flower cfm mdl 7 op 42 action drop
|
H A D | router_multicast.sh | 241 dst_ip 225.1.2.3 action drop 243 dst_ip 225.1.2.3 action drop 281 dst_ip ff0e::3 action drop 283 dst_ip ff0e::3 action drop 324 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 326 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 328 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 369 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop 371 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop 373 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop [all …]
|
H A D | tc_chains.sh | 39 flower $tcflags dst_mac $h2mac action drop 58 flower $tcflags dst_mac $h2mac action drop 60 $tcflags dst_mac $h2mac action drop 134 flower dst_mac $h2mac action drop 138 flower src_mac $h2mac action drop &> /dev/null 142 flower src_mac $h2mac action drop 146 flower dst_mac $h2mac action drop &> /dev/null
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | tc_restrictions.sh | 48 skip_sw dst_ip 192.0.2.2 action drop 65 skip_sw dst_ip 192.0.2.2 action drop 74 skip_sw dst_ip 192.0.2.2 action drop 205 skip_sw dst_ip 192.0.2.2 action drop 223 skip_sw dst_ip 192.0.2.2 action drop 229 skip_sw dst_ip 192.0.2.2 action drop 259 skip_sw dst_ip 192.0.2.2 action drop 277 skip_sw dst_ip 192.0.2.2 action drop 283 skip_sw dst_ip 192.0.2.2 action drop 320 action police rate 0.5kbit burst 1m conform-exceed drop/ok [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | dma.h | 97 mt76_dma_should_drop_buf(bool *drop, u32 ctrl, u32 buf1, u32 info) in mt76_dma_should_drop_buf() argument 99 if (!drop) in mt76_dma_should_drop_buf() 102 *drop = !!(ctrl & (MT_DMA_CTL_TO_HOST_A | MT_DMA_CTL_DROP)); in mt76_dma_should_drop_buf() 108 *drop = true; in mt76_dma_should_drop_buf() 111 *drop = !(info & MT_DMA_INFO_DMA_FRAG); in mt76_dma_should_drop_buf() 114 *drop = !!(ctrl & MT_DMA_CTL_PN_CHK_FAIL); in mt76_dma_should_drop_buf()
|
/linux/net/core/ |
H A D | lwtunnel.c | 334 goto drop; in lwtunnel_output() 349 goto drop; in lwtunnel_output() 353 drop: in lwtunnel_output() 368 goto drop; in lwtunnel_xmit() 384 goto drop; in lwtunnel_xmit() 388 drop: in lwtunnel_xmit() 403 goto drop; in lwtunnel_input() 418 goto drop; in lwtunnel_input() 422 drop: in lwtunnel_input()
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_uc.c | 294 goto drop; in qib_uc_rcv() 343 goto drop; in qib_uc_rcv() 413 goto drop; in qib_uc_rcv() 429 goto drop; in qib_uc_rcv() 448 goto drop; in qib_uc_rcv() 451 goto drop; in qib_uc_rcv() 466 goto drop; in qib_uc_rcv() 470 goto drop; in qib_uc_rcv() 478 goto drop; in qib_uc_rcv() 493 goto drop; in qib_uc_rcv() [all …]
|
H A D | qib_ud.c | 70 goto drop; in qib_ud_loopback() 81 goto drop; in qib_ud_loopback() 102 goto drop; in qib_ud_loopback() 117 goto drop; in qib_ud_loopback() 218 drop: in qib_ud_loopback() 456 goto drop; in qib_ud_rcv() 467 goto drop; in qib_ud_rcv() 490 goto drop; in qib_ud_rcv() 496 goto drop; in qib_ud_rcv() 501 goto drop; in qib_ud_rcv() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | uc.c | 310 goto drop; in hfi1_uc_rcv() 359 goto drop; in hfi1_uc_rcv() 442 goto drop; in hfi1_uc_rcv() 457 goto drop; in hfi1_uc_rcv() 476 goto drop; in hfi1_uc_rcv() 479 goto drop; in hfi1_uc_rcv() 491 goto drop; in hfi1_uc_rcv() 495 goto drop; in hfi1_uc_rcv() 503 goto drop; in hfi1_uc_rcv() 516 goto drop; in hfi1_uc_rcv() [all …]
|
/linux/net/sched/ |
H A D | act_nat.c | 142 goto drop; in tcf_nat_act() 146 goto drop; in tcf_nat_act() 157 goto drop; in tcf_nat_act() 185 goto drop; in tcf_nat_act() 198 goto drop; in tcf_nat_act() 214 goto drop; in tcf_nat_act() 223 goto drop; in tcf_nat_act() 237 goto drop; in tcf_nat_act() 262 drop: in tcf_nat_act()
|
/linux/net/x25/ |
H A D | x25_dev.c | 101 goto drop; in x25_lapb_receive_frame() 105 goto drop; in x25_lapb_receive_frame() 115 goto drop; in x25_lapb_receive_frame() 120 goto drop; in x25_lapb_receive_frame() 142 drop: in x25_lapb_receive_frame()
|
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_recv.c | 208 goto drop; /* mcast group not registered */ in rxe_rcv_mcast_pkt() 269 drop: in rxe_rcv_mcast_pkt() 323 goto drop; in rxe_rcv() 326 goto drop; in rxe_rcv() 334 goto drop; in rxe_rcv() 338 goto drop; in rxe_rcv() 342 goto drop; in rxe_rcv() 353 drop: in rxe_rcv()
|
/linux/net/bridge/ |
H A D | br_netfilter_ipv6.c | 54 goto drop; in br_validate_ipv6() 63 goto drop; in br_validate_ipv6() 68 goto drop; in br_validate_ipv6() 73 goto drop; in br_validate_ipv6() 84 drop: in br_validate_ipv6()
|
/linux/net/llc/ |
H A D | llc_input.c | 178 goto drop; in llc_rcv() 184 goto drop; in llc_rcv() 192 goto drop; in llc_rcv() 217 drop: in llc_rcv() 223 goto drop; in llc_rcv()
|
/linux/drivers/net/wan/ |
H A D | lapbether.c | 117 goto drop; in lapbeth_rcv() 124 goto drop; in lapbeth_rcv() 155 drop: in lapbeth_rcv() 192 goto drop; in lapbeth_xmit() 198 goto drop; in lapbeth_xmit() 209 goto drop; in lapbeth_xmit() 218 goto drop; in lapbeth_xmit() 226 goto drop; in lapbeth_xmit() 231 drop: in lapbeth_xmit()
|
/linux/drivers/net/wireless/silabs/wfx/ |
H A D | data_rx.c | 49 goto drop; in wfx_rx_cb() 53 goto drop; in wfx_rx_cb() 85 goto drop; in wfx_rx_cb() 91 drop: in wfx_rx_cb()
|