/linux-4.4.14/net/ipv6/netfilter/ |
H A D | ip6t_SYNPROXY.c | 43 struct ipv6hdr *niph, struct tcphdr *nth, synproxy_send_tcp() 50 nth->check = ~tcp_v6_check(tcp_hdr_size, &niph->saddr, &niph->daddr, 0); synproxy_send_tcp() 52 nskb->csum_start = (unsigned char *)nth - nskb->head; synproxy_send_tcp() 59 fl6.fl6_sport = nth->source; synproxy_send_tcp() 60 fl6.fl6_dport = nth->dest; synproxy_send_tcp() 93 struct tcphdr *nth; synproxy_send_client_synack() local 99 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); synproxy_send_client_synack() 109 nth = (struct tcphdr *)skb_put(nskb, tcp_hdr_size); synproxy_send_client_synack() 110 nth->source = th->dest; synproxy_send_client_synack() 111 nth->dest = th->source; synproxy_send_client_synack() 112 nth->seq = htonl(__cookie_v6_init_sequence(iph, th, &mss)); synproxy_send_client_synack() 113 nth->ack_seq = htonl(ntohl(th->seq) + 1); synproxy_send_client_synack() 114 tcp_flag_word(nth) = TCP_FLAG_SYN | TCP_FLAG_ACK; synproxy_send_client_synack() 116 tcp_flag_word(nth) |= TCP_FLAG_ECE; synproxy_send_client_synack() 117 nth->doff = tcp_hdr_size / 4; synproxy_send_client_synack() 118 nth->window = 0; synproxy_send_client_synack() 119 nth->check = 0; synproxy_send_client_synack() 120 nth->urg_ptr = 0; synproxy_send_client_synack() 122 synproxy_build_options(nth, opts); synproxy_send_client_synack() 125 niph, nth, tcp_hdr_size); synproxy_send_client_synack() 135 struct tcphdr *nth; synproxy_send_server_syn() local 140 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); synproxy_send_server_syn() 150 nth = (struct tcphdr *)skb_put(nskb, tcp_hdr_size); synproxy_send_server_syn() 151 nth->source = th->source; synproxy_send_server_syn() 152 nth->dest = th->dest; synproxy_send_server_syn() 153 nth->seq = htonl(recv_seq - 1); synproxy_send_server_syn() 157 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); synproxy_send_server_syn() 158 tcp_flag_word(nth) = TCP_FLAG_SYN; synproxy_send_server_syn() 160 tcp_flag_word(nth) |= TCP_FLAG_ECE | TCP_FLAG_CWR; synproxy_send_server_syn() 161 nth->doff = tcp_hdr_size / 4; synproxy_send_server_syn() 162 nth->window = th->window; synproxy_send_server_syn() 163 nth->check = 0; synproxy_send_server_syn() 164 nth->urg_ptr = 0; synproxy_send_server_syn() 166 synproxy_build_options(nth, opts); synproxy_send_server_syn() 169 niph, nth, tcp_hdr_size); synproxy_send_server_syn() 180 struct tcphdr *nth; synproxy_send_server_ack() local 185 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); synproxy_send_server_ack() 195 nth = (struct tcphdr *)skb_put(nskb, tcp_hdr_size); synproxy_send_server_ack() 196 nth->source = th->dest; synproxy_send_server_ack() 197 nth->dest = th->source; synproxy_send_server_ack() 198 nth->seq = htonl(ntohl(th->ack_seq)); synproxy_send_server_ack() 199 nth->ack_seq = htonl(ntohl(th->seq) + 1); synproxy_send_server_ack() 200 tcp_flag_word(nth) = TCP_FLAG_ACK; synproxy_send_server_ack() 201 nth->doff = tcp_hdr_size / 4; synproxy_send_server_ack() 202 nth->window = htons(state->seen[IP_CT_DIR_ORIGINAL].td_maxwin); synproxy_send_server_ack() 203 nth->check = 0; synproxy_send_server_ack() 204 nth->urg_ptr = 0; synproxy_send_server_ack() 206 synproxy_build_options(nth, opts); synproxy_send_server_ack() 208 synproxy_send_tcp(snet, skb, nskb, NULL, 0, niph, nth, tcp_hdr_size); synproxy_send_server_ack() 218 struct tcphdr *nth; synproxy_send_client_ack() local 223 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); synproxy_send_client_ack() 233 nth = (struct tcphdr *)skb_put(nskb, tcp_hdr_size); synproxy_send_client_ack() 234 nth->source = th->source; synproxy_send_client_ack() 235 nth->dest = th->dest; synproxy_send_client_ack() 236 nth->seq = htonl(ntohl(th->seq) + 1); synproxy_send_client_ack() 237 nth->ack_seq = th->ack_seq; synproxy_send_client_ack() 238 tcp_flag_word(nth) = TCP_FLAG_ACK; synproxy_send_client_ack() 239 nth->doff = tcp_hdr_size / 4; synproxy_send_client_ack() 240 nth->window = htons(ntohs(th->window) >> opts->wscale); synproxy_send_client_ack() 241 nth->check = 0; synproxy_send_client_ack() 242 nth->urg_ptr = 0; synproxy_send_client_ack() 244 synproxy_build_options(nth, opts); synproxy_send_client_ack() 247 niph, nth, tcp_hdr_size); synproxy_send_client_ack() 40 synproxy_send_tcp(const struct synproxy_net *snet, 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() argument
|
/linux-4.4.14/net/ipv4/netfilter/ |
H A D | ipt_SYNPROXY.c | 45 struct iphdr *niph, struct tcphdr *nth, synproxy_send_tcp() 50 nth->check = ~tcp_v4_check(tcp_hdr_size, niph->saddr, niph->daddr, 0); synproxy_send_tcp() 52 nskb->csum_start = (unsigned char *)nth - nskb->head; synproxy_send_tcp() 80 struct tcphdr *nth; synproxy_send_client_synack() local 86 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); synproxy_send_client_synack() 96 nth = (struct tcphdr *)skb_put(nskb, tcp_hdr_size); synproxy_send_client_synack() 97 nth->source = th->dest; synproxy_send_client_synack() 98 nth->dest = th->source; synproxy_send_client_synack() 99 nth->seq = htonl(__cookie_v4_init_sequence(iph, th, &mss)); synproxy_send_client_synack() 100 nth->ack_seq = htonl(ntohl(th->seq) + 1); synproxy_send_client_synack() 101 tcp_flag_word(nth) = TCP_FLAG_SYN | TCP_FLAG_ACK; synproxy_send_client_synack() 103 tcp_flag_word(nth) |= TCP_FLAG_ECE; synproxy_send_client_synack() 104 nth->doff = tcp_hdr_size / 4; synproxy_send_client_synack() 105 nth->window = 0; synproxy_send_client_synack() 106 nth->check = 0; synproxy_send_client_synack() 107 nth->urg_ptr = 0; synproxy_send_client_synack() 109 synproxy_build_options(nth, opts); synproxy_send_client_synack() 112 niph, nth, tcp_hdr_size); synproxy_send_client_synack() 122 struct tcphdr *nth; synproxy_send_server_syn() local 127 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); synproxy_send_server_syn() 137 nth = (struct tcphdr *)skb_put(nskb, tcp_hdr_size); synproxy_send_server_syn() 138 nth->source = th->source; synproxy_send_server_syn() 139 nth->dest = th->dest; synproxy_send_server_syn() 140 nth->seq = htonl(recv_seq - 1); synproxy_send_server_syn() 144 nth->ack_seq = htonl(ntohl(th->ack_seq) - 1); synproxy_send_server_syn() 145 tcp_flag_word(nth) = TCP_FLAG_SYN; synproxy_send_server_syn() 147 tcp_flag_word(nth) |= TCP_FLAG_ECE | TCP_FLAG_CWR; synproxy_send_server_syn() 148 nth->doff = tcp_hdr_size / 4; synproxy_send_server_syn() 149 nth->window = th->window; synproxy_send_server_syn() 150 nth->check = 0; synproxy_send_server_syn() 151 nth->urg_ptr = 0; synproxy_send_server_syn() 153 synproxy_build_options(nth, opts); synproxy_send_server_syn() 156 niph, nth, tcp_hdr_size); synproxy_send_server_syn() 167 struct tcphdr *nth; synproxy_send_server_ack() local 172 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); synproxy_send_server_ack() 182 nth = (struct tcphdr *)skb_put(nskb, tcp_hdr_size); synproxy_send_server_ack() 183 nth->source = th->dest; synproxy_send_server_ack() 184 nth->dest = th->source; synproxy_send_server_ack() 185 nth->seq = htonl(ntohl(th->ack_seq)); synproxy_send_server_ack() 186 nth->ack_seq = htonl(ntohl(th->seq) + 1); synproxy_send_server_ack() 187 tcp_flag_word(nth) = TCP_FLAG_ACK; synproxy_send_server_ack() 188 nth->doff = tcp_hdr_size / 4; synproxy_send_server_ack() 189 nth->window = htons(state->seen[IP_CT_DIR_ORIGINAL].td_maxwin); synproxy_send_server_ack() 190 nth->check = 0; synproxy_send_server_ack() 191 nth->urg_ptr = 0; synproxy_send_server_ack() 193 synproxy_build_options(nth, opts); synproxy_send_server_ack() 195 synproxy_send_tcp(snet, skb, nskb, NULL, 0, niph, nth, tcp_hdr_size); synproxy_send_server_ack() 205 struct tcphdr *nth; synproxy_send_client_ack() local 210 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); synproxy_send_client_ack() 220 nth = (struct tcphdr *)skb_put(nskb, tcp_hdr_size); synproxy_send_client_ack() 221 nth->source = th->source; synproxy_send_client_ack() 222 nth->dest = th->dest; synproxy_send_client_ack() 223 nth->seq = htonl(ntohl(th->seq) + 1); synproxy_send_client_ack() 224 nth->ack_seq = th->ack_seq; synproxy_send_client_ack() 225 tcp_flag_word(nth) = TCP_FLAG_ACK; synproxy_send_client_ack() 226 nth->doff = tcp_hdr_size / 4; synproxy_send_client_ack() 227 nth->window = htons(ntohs(th->window) >> opts->wscale); synproxy_send_client_ack() 228 nth->check = 0; synproxy_send_client_ack() 229 nth->urg_ptr = 0; synproxy_send_client_ack() 231 synproxy_build_options(nth, opts); synproxy_send_client_ack() 234 niph, nth, tcp_hdr_size); synproxy_send_client_ack() 42 synproxy_send_tcp(const struct synproxy_net *snet, 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
|
/linux-4.4.14/include/uapi/linux/netfilter/ |
H A D | xt_statistic.h | 31 } nth; member in union:xt_statistic_info::__anon14311
|
/linux-4.4.14/net/netfilter/ |
H A D | xt_statistic.c | 46 nval = (oval == info->u.nth.every) ? 0 : oval + 1; statistic_mt() 67 atomic_set(&info->master->count, info->u.nth.count); statistic_mt_check()
|
/linux-4.4.14/drivers/staging/unisys/include/ |
H A D | channel.h | 474 * Tries to insert the prebuilt signal pointed to by pSignal into the nth 479 * Queue: (IN) nth Queue of the IO Channel 496 * Removes one signal from Channel pChannel's nth Queue at the 502 * Queue: (IN) nth Queue of the IO Channel 518 * Removes all signals present in Channel pChannel's nth Queue at the 524 * Queue: (IN) nth Queue of the IO Channel 544 * Queue: (IN) nth Queue of the IO Channel
|
/linux-4.4.14/drivers/staging/unisys/visorbus/ |
H A D | vmcallinterface.h | 39 * - the next 2 hex digits are the nth relative instance of within a
|
/linux-4.4.14/net/l2tp/ |
H A D | l2tp_core.h | 246 struct l2tp_session *l2tp_session_find_nth(struct l2tp_tunnel *tunnel, int nth); 249 struct l2tp_tunnel *l2tp_tunnel_find_nth(struct net *net, int nth);
|
H A D | l2tp_core.c | 281 struct l2tp_session *l2tp_session_find_nth(struct l2tp_tunnel *tunnel, int nth) l2tp_session_find_nth() argument 290 if (++count > nth) { l2tp_session_find_nth() 348 struct l2tp_tunnel *l2tp_tunnel_find_nth(struct net *net, int nth) l2tp_tunnel_find_nth() argument 356 if (++count > nth) { l2tp_tunnel_find_nth()
|
/linux-4.4.14/drivers/usb/renesas_usbhs/ |
H A D | mod_gadget.c | 419 int nth = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK; usbhsg_recip_run_handle() local 425 uep = usbhsg_gpriv_to_nth_uep(gpriv, nth); usbhsg_recip_run_handle() 452 dev_dbg(dev, "%s (pipe %d :%s)\n", handler->name, nth, msg); usbhsg_recip_run_handle()
|
/linux-4.4.14/fs/jbd2/ |
H A D | recovery.c | 663 * {nth transaction} do_one_pass() 682 * nth trans corrupt OR nth trans do_one_pass()
|
/linux-4.4.14/drivers/scsi/fnic/ |
H A D | vnic_rq.h | 147 /* Move the posted_index every nth descriptor vnic_rq_post()
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_rq.h | 139 /* Move the posted_index every nth descriptor vnic_rq_post()
|
/linux-4.4.14/drivers/acpi/acpica/ |
H A D | exconvrt.c | 327 /* Divide by nth factor of 10 */ acpi_ex_convert_to_ascii()
|
/linux-4.4.14/include/linux/ |
H A D | slab.h | 467 * Determine size used for the nth kmalloc cache.
|
H A D | perf_event.h | 873 * the nth caller. We only need a few of the regs: perf_arch_fetch_caller_regs()
|
/linux-4.4.14/drivers/scsi/ |
H A D | scsi_debug.c | 4127 MODULE_PARM_DESC(every_nth, "timeout every nth command(def=0)"); 4458 int nth; every_nth_store() local 4460 if ((count > 0) && (1 == sscanf(buf, "%d", &nth))) { every_nth_store() 4461 scsi_debug_every_nth = nth; every_nth_store()
|
H A D | wd33c93.c | 150 * - A keyword in the 'nth' comma-separated command-line member will overwrite 151 * the 'nth' element of setup_args[]. A blank command-line member (in
|
H A D | in2000.c | 170 * - A keyword in the 'nth' comma-separated command-line member will overwrite 171 * the 'nth' element of setup_args[]. A blank command-line member (in
|
/linux-4.4.14/drivers/staging/comedi/ |
H A D | comedi.h | 49 /* length of nth chunk of firmware data -*/
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
H A D | ich8lan.c | 4373 * consecutive sectors. The start index for the nth Hw sector e1000_erase_flash_bank_ich8lan() 4376 * The start index for the nth Hw sector can be calculated e1000_erase_flash_bank_ich8lan() 4378 * 10: The Hw sector is 8K bytes, nth sector = bank * 8192 e1000_erase_flash_bank_ich8lan() 4380 * 11: The Hw sector is 64K bytes, nth sector = bank * 65536 e1000_erase_flash_bank_ich8lan()
|
/linux-4.4.14/drivers/acpi/ |
H A D | nfit.c | 977 /* Retrieve the nth entry referencing this spa */ memdev_from_spa()
|
/linux-4.4.14/fs/ext2/ |
H A D | inode.c | 142 * pointer to (n+1)th node in the nth one. If @block is out of range
|
/linux-4.4.14/arch/powerpc/oprofile/ |
H A D | op_model_cell.c | 1030 * The 24 bit LFSR value for the nth number in the sequence can be
|
/linux-4.4.14/fs/ext4/ |
H A D | indirect.c | 55 * pointer to (n+1)th node in the nth one. If @block is out of range
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_debugfs.c | 3629 * a frame (instead of every nth symbol): vlv_pipe_crc_ctl_reg() 3709 * a frame (instead of every nth symbol): i9xx_pipe_crc_ctl_reg()
|
/linux-4.4.14/drivers/of/ |
H A D | base.c | 1148 * Search for a property in a device node and read nth 32-bit value from
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/ |
H A D | lustre_idl.h | 3616 * nth update reply [4bytes_ret: other body]
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
H A D | phy.c | 2942 /* Edge flag turns on the 7nth bit on the PCDAC ath5k_combine_linear_pcdac_curves()
|
/linux-4.4.14/scripts/ |
H A D | analyze_suspend.py | 2374 .pf:checked ~ *:not(:nth-child(2)) {display: none;}\n\
|
/linux-4.4.14/net/ipv4/ |
H A D | tcp_input.c | 1442 * useful when hole on every nth skb pattern happens tcp_shift_skb_data()
|
/linux-4.4.14/kernel/sched/ |
H A D | fair.c | 4247 * on nth tick when cpu may be busy, then we have:
|