| /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()
|
| /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_police.sh | 134 action drop 160 action police rate 10mbit burst 16k conform-exceed drop/ok 172 action police rate 10mbit burst 16k conform-exceed drop/ok 209 action drop 214 action police rate 10mbit burst 16k conform-exceed drop/ok \ 243 action drop 248 action drop 253 action police rate 10mbit burst 16k conform-exceed drop/pipe \ 306 action drop 332 action police pkts_rate 2000 pkts_burst 400 conform-exceed drop/ok [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 | 218 dst_ip 225.1.2.3 action drop 220 dst_ip 225.1.2.3 action drop 258 dst_ip ff0e::3 action drop 260 dst_ip ff0e::3 action drop 301 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 303 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 305 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop 346 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop 348 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop 350 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/net/ipv6/ |
| H A D | seg6_local.c | 396 goto drop; in input_action_end_core() 402 drop: in input_action_end_core() 436 goto drop; in input_action_end_x_core() 442 drop: in input_action_end_x_core() 756 goto drop; in end_flv8986_core() 761 goto drop; in end_flv8986_core() 777 goto drop; in end_flv8986_core() 785 goto drop; in end_flv8986_core() 790 drop: in end_flv8986_core() 835 goto drop; in input_action_end_t() [all …]
|
| /linux/net/core/ |
| H A D | lwtunnel.c | 333 goto drop; in lwtunnel_output() 339 goto drop; in lwtunnel_output() 360 goto drop; in lwtunnel_output() 364 drop: in lwtunnel_output() 386 goto drop; in lwtunnel_xmit() 392 goto drop; in lwtunnel_xmit() 414 goto drop; in lwtunnel_xmit() 418 drop: in lwtunnel_xmit() 440 goto drop; in lwtunnel_input() 446 goto drop; in lwtunnel_input() [all …]
|
| /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 2k conform-exceed drop/ok [all …]
|
| H A D | devlink_trap_policer.sh | 91 defer devlink trap set $DEVLINK_DEV trap blackhole_route action drop 274 local t0_rx t0_drop t1_rx t1_drop rx drop 299 drop=$((t1_drop - t0_drop)) 300 (( drop == 0 )) 301 check_err $? "Expected zero policer drops, got $drop" 302 log_info "Measured policer drops of $drop packets" 323 drop=$((t1_drop - t0_drop)) 324 (( drop == 0 )) 325 check_err $? "Expected zero policer drops, got $drop" 326 log_info "Measured policer drops of $drop packets"
|
| H A D | devlink_trap_l3_drops.sh | 175 flower dst_ip $h2_ipv4 action drop 204 flower ip_proto udp src_port 54321 dst_port 12345 action drop 239 flower src_ip $sip action drop 273 flower dst_ip $dip action drop 308 flower src_ip $sip action drop 339 flower src_ip $sip action drop 391 flower dst_ip $h2_ipv4 action drop 437 flower dst_ip $h2_ipv4 action drop 476 flower dst_ip $dip action drop 501 flower dst_ip $dip action drop [all …]
|
| /linux/fs/nfs/ |
| H A D | nfs40client.c | 22 struct nfs_client *drop) in nfs4_swap_callback_idents() argument 27 if (keep->cl_cb_ident == drop->cl_cb_ident) in nfs4_swap_callback_idents() 31 __func__, keep->cl_cb_ident, drop->cl_cb_ident); in nfs4_swap_callback_idents() 35 idr_replace(&nn->cb_ident_idr, keep, drop->cl_cb_ident); in nfs4_swap_callback_idents() 36 keep->cl_cb_ident = drop->cl_cb_ident; in nfs4_swap_callback_idents() 38 idr_replace(&nn->cb_ident_idr, drop, save); in nfs4_swap_callback_idents() 39 drop->cl_cb_ident = save; in nfs4_swap_callback_idents()
|
| /linux/net/bridge/ |
| H A D | br_input.c | 93 goto drop; in br_handle_frame_finish() 102 goto drop; in br_handle_frame_finish() 125 goto drop; in br_handle_frame_finish() 129 goto drop; in br_handle_frame_finish() 136 goto drop; in br_handle_frame_finish() 157 goto drop; in br_handle_frame_finish() 163 goto drop; in br_handle_frame_finish() 239 drop: in br_handle_frame_finish() 351 goto drop; in br_handle_frame() 395 goto drop; in br_handle_frame() [all …]
|
| /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/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 | 137 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/drivers/net/wireless/mediatek/mt76/ |
| H A D | dma.h | 183 mt76_dma_should_drop_buf(bool *drop, u32 ctrl, u32 buf1, u32 info) in mt76_dma_should_drop_buf() argument 185 if (!drop) in mt76_dma_should_drop_buf() 188 *drop = !!(ctrl & (MT_DMA_CTL_TO_HOST_A | MT_DMA_CTL_DROP)); in mt76_dma_should_drop_buf() 194 *drop = true; in mt76_dma_should_drop_buf() 197 *drop = !(info & MT_DMA_INFO_DMA_FRAG); in mt76_dma_should_drop_buf() 200 *drop = !!(ctrl & MT_DMA_CTL_PN_CHK_FAIL); in mt76_dma_should_drop_buf()
|
| /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/drivers/net/wan/ |
| H A D | lapbether.c | 118 goto drop; in lapbeth_rcv() 125 goto drop; in lapbeth_rcv() 156 drop: in lapbeth_rcv() 193 goto drop; in lapbeth_xmit() 199 goto drop; in lapbeth_xmit() 210 goto drop; in lapbeth_xmit() 219 goto drop; in lapbeth_xmit() 227 goto drop; in lapbeth_xmit() 232 drop: in lapbeth_xmit()
|