Searched refs:dptr (Results 1 - 15 of 15) sorted by relevance

/net/netrom/
H A Dnr_subr.c126 unsigned char *dptr; local
155 dptr = skb_put(skb, skb_tailroom(skb));
160 *dptr++ = nr->my_index;
161 *dptr++ = nr->my_id;
162 *dptr++ = 0;
163 *dptr++ = 0;
164 *dptr++ = frametype;
165 *dptr++ = nr->window;
166 memcpy(dptr, &nr->user_addr, AX25_ADDR_LEN);
167 dptr[
217 unsigned char *dptr; local
[all...]
H A Dnr_out.c191 unsigned char *dptr; local
196 dptr = skb_push(skb, NR_NETWORK_LEN);
198 memcpy(dptr, &nr->source_addr, AX25_ADDR_LEN);
199 dptr[6] &= ~AX25_CBIT;
200 dptr[6] &= ~AX25_EBIT;
201 dptr[6] |= AX25_SSSID_SPARE;
202 dptr += AX25_ADDR_LEN;
204 memcpy(dptr, &nr->dest_addr, AX25_ADDR_LEN);
205 dptr[6] &= ~AX25_CBIT;
206 dptr[
[all...]
H A Dnr_route.c781 unsigned char *dptr; local
847 dptr = skb_push(skb, 1);
848 *dptr = AX25_P_NETROM;
/net/netfilter/
H A Dnf_conntrack_sip.c58 static int string_len(const struct nf_conn *ct, const char *dptr, argument
63 while (dptr < limit && isalpha(*dptr)) {
64 dptr++;
70 static int digits_len(const struct nf_conn *ct, const char *dptr, argument
74 while (dptr < limit && isdigit(*dptr)) {
75 dptr++;
91 static int word_len(const char *dptr, const char *limit) argument
94 while (dptr < limi
101 callid_len(const struct nf_conn *ct, const char *dptr, const char *limit, int *shift) argument
120 media_len(const struct nf_conn *ct, const char *dptr, const char *limit, int *shift) argument
176 epaddr_len(const struct nf_conn *ct, const char *dptr, const char *limit, int *shift) argument
196 skp_epaddr_len(const struct nf_conn *ct, const char *dptr, const char *limit, int *shift) argument
228 ct_sip_parse_request(const struct nf_conn *ct, const char *dptr, unsigned int datalen, unsigned int *matchoff, unsigned int *matchlen, union nf_inet_addr *addr, __be16 *port) argument
303 sip_follow_continuation(const char *dptr, const char *limit) argument
327 sip_skip_whitespace(const char *dptr, const char *limit) argument
342 ct_sip_header_search(const char *dptr, const char *limit, const char *needle, unsigned int len) argument
359 ct_sip_get_header(const struct nf_conn *ct, const char *dptr, unsigned int dataoff, unsigned int datalen, enum sip_header_types type, unsigned int *matchoff, unsigned int *matchlen) argument
427 ct_sip_next_header(const struct nf_conn *ct, const char *dptr, unsigned int dataoff, unsigned int datalen, enum sip_header_types type, unsigned int *matchoff, unsigned int *matchlen) argument
457 ct_sip_walk_headers(const struct nf_conn *ct, const char *dptr, unsigned int dataoff, unsigned int datalen, enum sip_header_types type, int *in_header, unsigned int *matchoff, unsigned int *matchlen) argument
497 ct_sip_parse_header_uri(const struct nf_conn *ct, const char *dptr, unsigned int *dataoff, unsigned int datalen, enum sip_header_types type, int *in_header, unsigned int *matchoff, unsigned int *matchlen, union nf_inet_addr *addr, __be16 *port) argument
530 ct_sip_parse_param(const struct nf_conn *ct, const char *dptr, unsigned int dataoff, unsigned int datalen, const char *name, unsigned int *matchoff, unsigned int *matchlen) argument
558 ct_sip_parse_address_param(const struct nf_conn *ct, const char *dptr, unsigned int dataoff, unsigned int datalen, const char *name, unsigned int *matchoff, unsigned int *matchlen, union nf_inet_addr *addr, bool delim) argument
585 ct_sip_parse_numerical_param(const struct nf_conn *ct, const char *dptr, unsigned int dataoff, unsigned int datalen, const char *name, unsigned int *matchoff, unsigned int *matchlen, unsigned int *val) argument
615 ct_sip_parse_transport(struct nf_conn *ct, const char *dptr, unsigned int dataoff, unsigned int datalen, u8 *proto) argument
665 sdp_addr_len(const struct nf_conn *ct, const char *dptr, const char *limit, int *shift) argument
703 ct_sdp_header_search(const char *dptr, const char *limit, const char *needle, unsigned int len) argument
719 ct_sip_get_sdp_header(const struct nf_conn *ct, const char *dptr, unsigned int dataoff, unsigned int datalen, enum sdp_header_types type, enum sdp_header_types term, unsigned int *matchoff, unsigned int *matchlen) argument
773 ct_sip_parse_sdp_addr(const struct nf_conn *ct, const char *dptr, unsigned int dataoff, unsigned int datalen, enum sdp_header_types type, enum sdp_header_types term, unsigned int *matchoff, unsigned int *matchlen, union nf_inet_addr *addr) argument
842 set_expected_rtp_rtcp(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, union nf_inet_addr *daddr, __be16 port, enum sip_expectation_classes class, unsigned int mediaoff, unsigned int medialen) argument
967 sdp_media_type(const char *dptr, unsigned int matchoff, unsigned int matchlen) argument
984 process_sdp(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq) argument
1093 process_invite_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq, unsigned int code) argument
1110 process_update_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq, unsigned int code) argument
1127 process_prack_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq, unsigned int code) argument
1144 process_invite_request(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq) argument
1161 process_bye_request(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq) argument
1177 process_register_request(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq) argument
1275 process_register_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq, unsigned int code) argument
1361 process_sip_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen) argument
1405 process_sip_request(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen) argument
1458 process_sip_msg(struct sk_buff *skb, struct nf_conn *ct, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen) argument
1489 const char *dptr, *end; local
1570 const char *dptr; local
[all...]
H A Dnf_nat_sip.c34 const char **dptr, unsigned int *datalen,
63 *dptr = skb->data + dataoff;
92 const char **dptr, unsigned int *datalen,
121 return mangle_packet(skb, protoff, dataoff, dptr, datalen,
127 const char **dptr, unsigned int *datalen,
136 if (ct_sip_parse_header_uri(ct, *dptr, NULL, *datalen, type, NULL,
139 return map_addr(skb, protoff, dataoff, dptr, datalen,
145 const char **dptr, unsigned int *datalen)
158 if (strncasecmp(*dptr, "SIP/2.0", strlen("SIP/2.0")) != 0) {
159 if (ct_sip_parse_request(ct, *dptr, *datale
32 mangle_packet(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int matchoff, unsigned int matchlen, const char *buffer, unsigned int buflen) argument
90 map_addr(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int matchoff, unsigned int matchlen, union nf_inet_addr *addr, __be16 port) argument
125 map_sip_addr(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, enum sip_header_types type) argument
143 nf_nat_sip(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen) argument
341 nf_nat_sip_expect(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, struct nf_conntrack_expect *exp, unsigned int matchoff, unsigned int matchlen) argument
415 mangle_content_len(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen) argument
442 mangle_sdp_packet(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int sdpoff, enum sdp_header_types type, enum sdp_header_types term, char *buffer, int buflen) argument
461 nf_nat_sdp_addr(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int sdpoff, enum sdp_header_types type, enum sdp_header_types term, const union nf_inet_addr *addr) argument
482 nf_nat_sdp_port(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int matchoff, unsigned int matchlen, u_int16_t port) argument
500 nf_nat_sdp_session(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int sdpoff, const union nf_inet_addr *addr) argument
539 nf_nat_sdp_media(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, struct nf_conntrack_expect *rtp_exp, struct nf_conntrack_expect *rtcp_exp, unsigned int mediaoff, unsigned int medialen, union nf_inet_addr *rtp_addr) argument
[all...]
/net/x25/
H A Dx25_subr.c118 unsigned char *dptr; local
168 dptr = skb_put(skb, 2);
174 *dptr++ = lci1 | X25_GFI_EXTSEQ;
175 *dptr++ = lci2;
177 *dptr++ = lci1 | X25_GFI_STDSEQ;
178 *dptr++ = lci2;
187 dptr = skb_put(skb, 1);
188 *dptr++ = X25_CALL_REQUEST;
191 dptr = skb_put(skb, len);
192 memcpy(dptr, addresse
[all...]
H A Dx25_link.c119 unsigned char *dptr; local
128 dptr = skb_put(skb, X25_STD_MIN_LEN + 2);
130 *dptr++ = nb->extended ? X25_GFI_EXTSEQ : X25_GFI_STDSEQ;
131 *dptr++ = 0x00;
132 *dptr++ = X25_RESTART_REQUEST;
133 *dptr++ = 0x00;
134 *dptr++ = 0;
146 unsigned char *dptr; local
155 dptr = skb_put(skb, X25_STD_MIN_LEN);
157 *dptr
173 unsigned char *dptr; local
[all...]
H A Dx25_dev.c208 unsigned char *dptr; local
214 dptr = skb_push(skb, 1);
215 *dptr = X25_IFACE_DATA;
/net/rose/
H A Drose_link.c185 unsigned char *dptr; local
195 dptr = skb_put(skb, ROSE_MIN_LEN + 3);
197 *dptr++ = AX25_P_ROSE;
198 *dptr++ = ROSE_GFI;
199 *dptr++ = 0x00;
200 *dptr++ = ROSE_RESTART_REQUEST;
201 *dptr++ = ROSE_DTE_ORIGINATED;
202 *dptr++ = 0;
214 unsigned char *dptr; local
224 dptr
242 unsigned char *dptr; local
267 unsigned char *dptr; local
[all...]
H A Drose_subr.c106 unsigned char *dptr; local
134 dptr = skb_put(skb, skb_tailroom(skb));
141 *dptr++ = ROSE_GFI | lci1;
142 *dptr++ = lci2;
143 *dptr++ = frametype;
144 *dptr++ = ROSE_CALL_REQ_ADDR_LEN_VAL;
145 memcpy(dptr, &rose->dest_addr, ROSE_ADDR_LEN);
146 dptr += ROSE_ADDR_LEN;
147 memcpy(dptr, &rose->source_addr, ROSE_ADDR_LEN);
148 dptr
[all...]
/net/lapb/
H A Dlapb_subr.c232 unsigned char *dptr; local
241 dptr = skb_put(skb, 1);
242 *dptr = frametype;
243 *dptr |= poll_bit ? LAPB_SPF : 0;
245 dptr = skb_put(skb, 2);
246 dptr[0] = frametype;
247 dptr[1] = (lapb->vr << 1);
248 dptr[1] |= poll_bit ? LAPB_EPF : 0;
251 dptr = skb_put(skb, 1);
252 *dptr
268 unsigned char *dptr; local
[all...]
/net/ax25/
H A Dax25_subr.c153 unsigned char *dptr; local
164 dptr = skb_put(skb, 1);
165 *dptr = frametype;
166 *dptr |= (poll_bit) ? AX25_PF : 0;
168 *dptr |= (ax25->vr << 5);
171 dptr = skb_put(skb, 1);
172 *dptr = frametype;
173 *dptr |= (poll_bit) ? AX25_PF : 0;
175 dptr = skb_put(skb, 2);
176 dptr[
193 char *dptr; local
[all...]
/net/netfilter/ipvs/
H A Dip_vs_pe_sip.c29 static int get_callid(const char *dptr, unsigned int dataoff, argument
35 int ret = ct_sip_get_header(NULL, dptr, dataoff, datalen,
55 if (*(dptr + *matchoff + *matchlen) != '\r' &&
56 *(dptr + *matchoff + *matchlen) != '\n')
60 IP_VS_DEBUG_CALLID(dptr + *matchoff, *matchlen),
70 const char *dptr; local
88 dptr = skb->data + dataoff;
91 if (get_callid(dptr, dataoff, datalen, &matchoff, &matchlen))
97 p->pe_data = kmemdup(dptr + matchoff, matchlen, GFP_ATOMIC);
/net/ipv4/
H A Dip_options.c93 unsigned char *sptr, *dptr; local
103 dptr = dopt->__data;
109 memcpy(dptr, sptr+sopt->rr, optlen);
113 dptr[2] = soffset + 4;
116 dptr += optlen;
123 memcpy(dptr, sptr+sopt->ts, optlen);
134 if ((dptr[3]&0xF) != IPOPT_TS_PRESPEC) {
143 memcpy(&addr, dptr+soffset-1, 4);
151 dptr[2] = soffset;
153 dptr
[all...]
H A Dip_output.c1496 static int ip_reply_glue_bits(void *dptr, char *to, int offset, argument
1501 csum = csum_partial_copy_nocheck(dptr+offset, to, len, 0);

Completed in 258 milliseconds