Searched refs:optr (Results 1 – 7 of 7) sorted by relevance
/net/ipv4/netfilter/ |
D | nf_nat_snmp_basic.c | 442 unsigned long *optr; in asn1_oid_decode() local 455 optr = *oid; in asn1_oid_decode() 464 optr[0] = 0; in asn1_oid_decode() 465 optr[1] = subid; in asn1_oid_decode() 467 optr[0] = 1; in asn1_oid_decode() 468 optr[1] = subid - 40; in asn1_oid_decode() 470 optr[0] = 2; in asn1_oid_decode() 471 optr[1] = subid - 80; in asn1_oid_decode() 475 optr += 2; in asn1_oid_decode() 485 if (!asn1_subid_decode(ctx, optr++)) { in asn1_oid_decode() [all …]
|
/net/l2tp/ |
D | l2tp_core.h | 272 unsigned char *ptr, unsigned char *optr, u16 hdrflags, 343 unsigned char **ptr, unsigned char **optr) in l2tp_v3_ensure_opt_in_linear() argument 348 int off = *ptr - *optr; in l2tp_v3_ensure_opt_in_linear() 353 if (skb->data != *optr) { in l2tp_v3_ensure_opt_in_linear() 354 *optr = skb->data; in l2tp_v3_ensure_opt_in_linear()
|
D | l2tp_ip.c | 121 unsigned char *ptr, *optr; in l2tp_ip_recv() local 131 optr = ptr = skb->data; in l2tp_ip_recv() 160 optr = ptr = skb->data; in l2tp_ip_recv() 166 if (l2tp_v3_ensure_opt_in_linear(session, skb, &ptr, &optr)) in l2tp_ip_recv() 169 l2tp_recv_common(session, skb, ptr, optr, 0, skb->len, tunnel->recv_payload_hook); in l2tp_ip_recv()
|
D | l2tp_core.c | 706 unsigned char *ptr, unsigned char *optr, u16 hdrflags, in l2tp_recv_common() argument 825 offset = ptr - optr; in l2tp_recv_common() 901 unsigned char *ptr, *optr; in l2tp_udp_recv_core() local 931 optr = ptr = skb->data; in l2tp_udp_recv_core() 993 l2tp_v3_ensure_opt_in_linear(session, skb, &ptr, &optr)) { in l2tp_udp_recv_core() 998 l2tp_recv_common(session, skb, ptr, optr, hdrflags, length, payload_hook); in l2tp_udp_recv_core() 1050 __be16 *optr = buf; in l2tp_build_l2tpv2_header() local 1071 return bufp - optr; in l2tp_build_l2tpv2_header() 1078 char *optr = bufp; in l2tp_build_l2tpv3_header() local 1115 return bufp - optr; in l2tp_build_l2tpv3_header()
|
D | l2tp_ip6.c | 133 unsigned char *ptr, *optr; in l2tp_ip6_recv() local 143 optr = ptr = skb->data; in l2tp_ip6_recv() 172 optr = ptr = skb->data; in l2tp_ip6_recv() 178 if (l2tp_v3_ensure_opt_in_linear(session, skb, &ptr, &optr)) in l2tp_ip6_recv() 181 l2tp_recv_common(session, skb, ptr, optr, 0, skb->len, in l2tp_ip6_recv()
|
/net/batman-adv/ |
D | main.h | 362 void (*optr)(struct batadv_priv *bat_priv,
|
D | main.c | 1089 void (*optr)(struct batadv_priv *bat_priv, in batadv_tvlv_handler_register() 1117 tvlv_handler->ogm_handler = optr; in batadv_tvlv_handler_register()
|