Searched refs:optoff (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/net/netfilter/ |
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()
|
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()
|
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()
|
/linux-6.1.9/net/ipv6/ |
D | exthdrs.c | 64 static bool ip6_tlvopt_unknown(struct sk_buff *skb, int optoff, in ip6_tlvopt_unknown() argument 78 switch ((skb_network_header(skb)[optoff] & 0xC0) >> 6) { in ip6_tlvopt_unknown() 93 icmpv6_param_prob_reason(skb, ICMPV6_UNK_OPTION, optoff, in ip6_tlvopt_unknown() 103 static bool ipv6_hop_ra(struct sk_buff *skb, int optoff); 104 static bool ipv6_hop_ioam(struct sk_buff *skb, int optoff); 105 static bool ipv6_hop_jumbo(struct sk_buff *skb, int optoff); 106 static bool ipv6_hop_calipso(struct sk_buff *skb, int optoff); 108 static bool ipv6_dest_hao(struct sk_buff *skb, int optoff); 231 static bool ipv6_dest_hao(struct sk_buff *skb, int optoff) in ipv6_dest_hao() argument 246 hao = (struct ipv6_destopt_hao *)(skb_network_header(skb) + optoff); in ipv6_dest_hao() [all …]
|