/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_synproxy_core.c | 444 struct iphdr *niph, struct tcphdr *nth, in synproxy_send_tcp() 447 nth->check = ~tcp_v4_check(tcp_hdr_size, niph->saddr, niph->daddr, 0); in synproxy_send_tcp() 449 nskb->csum_start = (unsigned char *)nth - nskb->head; in synproxy_send_tcp() 476 struct tcphdr *nth; in synproxy_send_client_synack() local 482 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); in synproxy_send_client_synack() 492 nth = skb_put(nskb, tcp_hdr_size); in synproxy_send_client_synack() 493 nth->source = th->dest; in synproxy_send_client_synack() 494 nth->dest = th->source; in synproxy_send_client_synack() 495 nth->seq = htonl(__cookie_v4_init_sequence(iph, th, &mss)); in synproxy_send_client_synack() 496 nth in synproxy_send_client_synack() 441 synproxy_send_tcp(struct net *net, const struct sk_buff *skb, struct sk_buff *nskb, struct nf_conntrack *nfct, enum ip_conntrack_info ctinfo, struct iphdr *niph, struct tcphdr *nth, unsigned int tcp_hdr_size) synproxy_send_tcp() argument 520 struct tcphdr *nth; synproxy_send_server_syn() local 565 struct tcphdr *nth; synproxy_send_server_ack() local 603 struct tcphdr *nth; synproxy_send_client_ack() local 835 synproxy_send_tcp_ipv6(struct net *net, const struct sk_buff *skb, struct sk_buff *nskb, struct nf_conntrack *nfct, enum ip_conntrack_info ctinfo, struct ipv6hdr *niph, struct tcphdr *nth, unsigned int tcp_hdr_size) synproxy_send_tcp_ipv6() argument 889 struct tcphdr *nth; synproxy_send_client_synack_ipv6() local 934 struct tcphdr *nth; synproxy_send_server_syn_ipv6() local 979 struct tcphdr *nth; synproxy_send_server_ack_ipv6() local 1018 struct tcphdr *nth; synproxy_send_client_ack_ipv6() local [all...] |
H A D | xt_statistic.c | 43 nval = (oval == info->u.nth.every) ? 0 : oval + 1; in statistic_mt() 64 atomic_set(&info->master->count, info->u.nth.count); in statistic_mt_check()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_synproxy_core.c | 421 struct iphdr *niph, struct tcphdr *nth, in synproxy_send_tcp() 424 nth->check = ~tcp_v4_check(tcp_hdr_size, niph->saddr, niph->daddr, 0); in synproxy_send_tcp() 426 nskb->csum_start = (unsigned char *)nth - nskb->head; in synproxy_send_tcp() 453 struct tcphdr *nth; in synproxy_send_client_synack() local 459 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); in synproxy_send_client_synack() 469 nth = skb_put(nskb, tcp_hdr_size); in synproxy_send_client_synack() 470 nth->source = th->dest; in synproxy_send_client_synack() 471 nth->dest = th->source; in synproxy_send_client_synack() 472 nth->seq = htonl(__cookie_v4_init_sequence(iph, th, &mss)); in synproxy_send_client_synack() 473 nth in synproxy_send_client_synack() 418 synproxy_send_tcp(struct net *net, const struct sk_buff *skb, struct sk_buff *nskb, struct nf_conntrack *nfct, enum ip_conntrack_info ctinfo, struct iphdr *niph, struct tcphdr *nth, unsigned int tcp_hdr_size) synproxy_send_tcp() argument 497 struct tcphdr *nth; synproxy_send_server_syn() local 542 struct tcphdr *nth; synproxy_send_server_ack() local 580 struct tcphdr *nth; synproxy_send_client_ack() local 812 synproxy_send_tcp_ipv6(struct net *net, const struct sk_buff *skb, struct sk_buff *nskb, struct nf_conntrack *nfct, enum ip_conntrack_info ctinfo, struct ipv6hdr *niph, struct tcphdr *nth, unsigned int tcp_hdr_size) synproxy_send_tcp_ipv6() argument 866 struct tcphdr *nth; synproxy_send_client_synack_ipv6() local 911 struct tcphdr *nth; synproxy_send_server_syn_ipv6() local 956 struct tcphdr *nth; synproxy_send_server_ack_ipv6() local 995 struct tcphdr *nth; synproxy_send_client_ack_ipv6() local [all...] |
H A D | xt_statistic.c | 43 nval = (oval == info->u.nth.every) ? 0 : oval + 1; in statistic_mt() 64 atomic_set(&info->master->count, info->u.nth.count); in statistic_mt_check()
|
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clk-cs2000-cp.c | 23 #define Ratio_Add(x, nth) (6 + (x * 4) + (nth)) 24 #define Ratio_Val(x, nth) ((x >> (24 - (8 * nth))) & 0xFF) 25 #define Val_Ratio(x, nth) ((x & 0xFF) << (24 - (8 * nth)))
|
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk-cs2000-cp.c | 24 #define Ratio_Add(x, nth) (6 + (x * 4) + (nth)) 25 #define Ratio_Val(x, nth) ((x >> (24 - (8 * nth))) & 0xFF) 26 #define Val_Ratio(x, nth) ((x & 0xFF) << (24 - (8 * nth)))
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | cdc_ncm.c | 1192 } nth; in cdc_ncm_fill_tx_frame() local 1263 nth.nth16 = skb_put_zero(skb_out, sizeof(struct usb_cdc_ncm_nth16)); in cdc_ncm_fill_tx_frame() 1264 nth.nth16->dwSignature = cpu_to_le32(USB_CDC_NCM_NTH16_SIGN); in cdc_ncm_fill_tx_frame() 1265 nth.nth16->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16)); in cdc_ncm_fill_tx_frame() 1266 nth.nth16->wSequence = cpu_to_le16(ctx->tx_seq++); in cdc_ncm_fill_tx_frame() 1269 nth.nth32 = skb_put_zero(skb_out, sizeof(struct usb_cdc_ncm_nth32)); in cdc_ncm_fill_tx_frame() 1270 nth.nth32->dwSignature = cpu_to_le32(USB_CDC_NCM_NTH32_SIGN); in cdc_ncm_fill_tx_frame() 1271 nth.nth32->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth32)); in cdc_ncm_fill_tx_frame() 1272 nth.nth32->wSequence = cpu_to_le16(ctx->tx_seq++); in cdc_ncm_fill_tx_frame() 1390 nth in cdc_ncm_fill_tx_frame() [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | cdc_ncm.c | 1206 } nth; in cdc_ncm_fill_tx_frame() local 1277 nth.nth16 = skb_put_zero(skb_out, sizeof(struct usb_cdc_ncm_nth16)); in cdc_ncm_fill_tx_frame() 1278 nth.nth16->dwSignature = cpu_to_le32(USB_CDC_NCM_NTH16_SIGN); in cdc_ncm_fill_tx_frame() 1279 nth.nth16->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16)); in cdc_ncm_fill_tx_frame() 1280 nth.nth16->wSequence = cpu_to_le16(ctx->tx_seq++); in cdc_ncm_fill_tx_frame() 1283 nth.nth32 = skb_put_zero(skb_out, sizeof(struct usb_cdc_ncm_nth32)); in cdc_ncm_fill_tx_frame() 1284 nth.nth32->dwSignature = cpu_to_le32(USB_CDC_NCM_NTH32_SIGN); in cdc_ncm_fill_tx_frame() 1285 nth.nth32->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth32)); in cdc_ncm_fill_tx_frame() 1286 nth.nth32->wSequence = cpu_to_le16(ctx->tx_seq++); in cdc_ncm_fill_tx_frame() 1404 nth in cdc_ncm_fill_tx_frame() [all...] |
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/ |
H A D | xt_statistic.h | 32 } nth; member
|
/kernel/linux/linux-6.6/include/uapi/linux/netfilter/ |
H A D | xt_statistic.h | 32 } nth; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/ |
H A D | xt_statistic.h | 44 } nth; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/netfilter/ |
H A D | xt_statistic.h | 44 } nth; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/ |
H A D | xt_statistic.h | 31 } nth; member
|
/kernel/linux/linux-5.10/net/l2tp/ |
H A D | l2tp_core.h | 226 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth); 231 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth);
|
H A D | l2tp_core.c | 222 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth) in l2tp_tunnel_get_nth() argument 231 if (tunnel && ++count > nth && in l2tp_tunnel_get_nth() 286 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_get_nth() argument 295 if (++count > nth) { in l2tp_session_get_nth()
|
/kernel/linux/linux-6.6/net/l2tp/ |
H A D | l2tp_core.h | 226 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth); 231 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth);
|
H A D | l2tp_core.c | 222 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth) in l2tp_tunnel_get_nth() argument 231 if (tunnel && ++count > nth && in l2tp_tunnel_get_nth() 286 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_get_nth() argument 295 if (++count > nth) { in l2tp_session_get_nth()
|
/kernel/linux/linux-6.6/rust/macros/ |
H A D | pin_data.rs | 28 .nth(1)
|
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/ |
H A D | mod_gadget.c | 410 int nth = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in usbhsg_recip_run_handle() local 416 uep = usbhsg_gpriv_to_nth_uep(gpriv, nth); in usbhsg_recip_run_handle() 443 dev_dbg(dev, "%s (pipe %d :%s)\n", handler->name, nth, msg); in usbhsg_recip_run_handle()
|
/kernel/linux/linux-6.6/drivers/usb/renesas_usbhs/ |
H A D | mod_gadget.c | 410 int nth = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; in usbhsg_recip_run_handle() local 416 uep = usbhsg_gpriv_to_nth_uep(gpriv, nth); in usbhsg_recip_run_handle() 443 dev_dbg(dev, "%s (pipe %d :%s)\n", handler->name, nth, msg); in usbhsg_recip_run_handle()
|
/kernel/linux/linux-6.6/drivers/iommu/iommufd/ |
H A D | selftest.c | 44 * In syzkaller mode the 64 bit IOVA is converted into an nth area and offset 55 unsigned int nth = syz->nth_area; in iommufd_test_syz_conv_iova() local 61 if (nth == 0) { in iommufd_test_syz_conv_iova() 65 nth--; in iommufd_test_syz_conv_iova()
|
/kernel/linux/linux-6.6/rust/alloc/ |
H A D | boxed.rs | 1950 fn nth(&mut self, n: usize) -> Option<I::Item> { in nth() functions 1951 (**self).nth(n) in nth()
|
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 6606 int num_tx, int nth) in mv88e6xxx_lag_set_port_mask() 6612 if (nth < num_tx) in mv88e6xxx_lag_set_port_mask() 6613 active = mv88e6xxx_lag_mask_table[num_tx - 1][nth]; in mv88e6xxx_lag_set_port_mask() 6627 int i, err, nth; in mv88e6xxx_lag_sync_masks() local 6662 nth = 0; in mv88e6xxx_lag_sync_masks() 6669 num_tx, nth); in mv88e6xxx_lag_sync_masks() 6671 nth++; in mv88e6xxx_lag_sync_masks() 6605 mv88e6xxx_lag_set_port_mask(u16 *mask, int port, int num_tx, int nth) mv88e6xxx_lag_set_port_mask() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_debug.c | 5688 MODULE_PARM_DESC(every_nth, "timeout every nth command(def=0)"); 6128 int nth; in every_nth_store() local 6133 if (kstrtoint(work + 2, 16, &nth) == 0) in every_nth_store() 6136 if (kstrtoint(work, 10, &nth) == 0) in every_nth_store() 6143 sdebug_every_nth = nth; in every_nth_store() 6144 if (nth && !sdebug_statistics) { in every_nth_store()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_debug.c | 5790 MODULE_PARM_DESC(every_nth, "timeout every nth command(def=0)"); 6268 int nth; in every_nth_store() local 6273 if (kstrtoint(work + 2, 16, &nth) == 0) in every_nth_store() 6276 if (kstrtoint(work, 10, &nth) == 0) in every_nth_store() 6283 sdebug_every_nth = nth; in every_nth_store() 6284 if (nth && !sdebug_statistics) { in every_nth_store()
|