Home
last modified time | relevance | path

Searched refs:nth (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_synproxy_core.c444 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 Dxt_statistic.c43 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 Dnf_synproxy_core.c421 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 Dxt_statistic.c43 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 Dclk-cs2000-cp.c23 #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 Dclk-cs2000-cp.c24 #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 Dcdc_ncm.c1192 } 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 Dcdc_ncm.c1206 } 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 Dxt_statistic.h32 } nth; member
/kernel/linux/linux-6.6/include/uapi/linux/netfilter/
H A Dxt_statistic.h32 } nth; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
H A Dxt_statistic.h44 } nth; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/netfilter/
H A Dxt_statistic.h44 } nth; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/
H A Dxt_statistic.h31 } nth; member
/kernel/linux/linux-5.10/net/l2tp/
H A Dl2tp_core.h226 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 Dl2tp_core.c222 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 Dl2tp_core.h226 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 Dl2tp_core.c222 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 Dpin_data.rs28 .nth(1)
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/
H A Dmod_gadget.c410 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 Dmod_gadget.c410 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 Dselftest.c44 * 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 Dboxed.rs1950 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 Dchip.c6606 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 Dscsi_debug.c5688 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 Dscsi_debug.c5790 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()

Completed in 53 milliseconds

12