Searched refs:optoff (Results 1 – 5 of 5) sorted by relevance
| /linux/net/netfilter/ |
| A D | nf_conntrack_seqadj.c | 124 unsigned int dir, optoff, optend; in nf_ct_sack_adjust() local 126 optoff = protoff + sizeof(struct tcphdr); in nf_ct_sack_adjust() 135 while (optoff < optend) { in nf_ct_sack_adjust() 137 unsigned char *op = skb->data + optoff; in nf_ct_sack_adjust() 143 optoff++; in nf_ct_sack_adjust() 147 if (optoff + 1 == optend || in nf_ct_sack_adjust() 148 optoff + op[1] > optend || in nf_ct_sack_adjust() 154 nf_ct_sack_block_adjust(skb, tcph, optoff + 2, in nf_ct_sack_adjust() 155 optoff+op[1], in nf_ct_sack_adjust() 157 optoff += op[1]; in nf_ct_sack_adjust()
|
| A D | xt_dccp.c | 42 unsigned int optoff = __dccp_hdr_len(dh); in dccp_find_option() local 53 op = skb_header_pointer(skb, protoff + optoff, optlen, dccp_optbuf); in dccp_find_option()
|
| A D | nf_synproxy_core.c | 190 unsigned int optoff, optend; in synproxy_tstamp_adjust() local 196 optoff = protoff + sizeof(struct tcphdr); in synproxy_tstamp_adjust() 202 while (optoff < optend) { in synproxy_tstamp_adjust() 203 unsigned char *op = skb->data + optoff; in synproxy_tstamp_adjust() 209 optoff++; in synproxy_tstamp_adjust() 212 if (optoff + 1 == optend || in synproxy_tstamp_adjust() 213 optoff + op[1] > optend || in synproxy_tstamp_adjust() 233 optoff += op[1]; in synproxy_tstamp_adjust()
|
| A D | nft_exthdr.c | 417 unsigned int thoff, dataoff, optoff, optlen, i; in nft_exthdr_dccp_eval() local 432 optoff = __dccp_hdr_len(dh); in nft_exthdr_dccp_eval() 433 if (dataoff <= optoff) in nft_exthdr_dccp_eval() 436 optlen = dataoff - optoff; in nft_exthdr_dccp_eval() 456 bufp = skb_header_pointer(pkt->skb, thoff + optoff + i, buflen, in nft_exthdr_dccp_eval()
|
| /linux/net/ipv6/ |
| A D | exthdrs.c | 275 optoff); in ipv6_dest_hao() 892 if (nh[optoff + 1] == 2) { in ipv6_hop_ra() 898 nh[optoff + 1]); in ipv6_hop_ra() 912 if (optoff & 3) in ipv6_hop_ioam() 949 + optoff + sizeof(*hdr)); in ipv6_hop_ioam() 976 if (nh[optoff + 1] != 4 || (optoff & 3) != 2) { in ipv6_hop_jumbo() 978 nh[optoff+1]); in ipv6_hop_jumbo() 983 pkt_len = ntohl(*(__be32 *)(nh + optoff + 2)); in ipv6_hop_jumbo() 1017 if (nh[optoff + 1] < 8) in ipv6_hop_calipso() 1020 if (nh[optoff + 6] * 4 + 8 > nh[optoff + 1]) in ipv6_hop_calipso() [all …]
|
Completed in 46 milliseconds