Home
last modified time | relevance | path

Searched refs:clen (Results 1 – 10 of 10) sorted by relevance

/net/irda/ircomm/
Dircomm_core.c51 struct sk_buff *skb, int clen);
337 int clen; in ircomm_process_data() local
341 clen = skb->data[0]; in ircomm_process_data()
349 if (unlikely(skb->len < (clen + 1))) { in ircomm_process_data()
360 if (clen > 0) in ircomm_process_data()
361 ircomm_control_indication(self, skb, clen); in ircomm_process_data()
364 skb_pull(skb, clen+1); in ircomm_process_data()
402 struct sk_buff *skb, int clen) in ircomm_control_indication() argument
414 skb_trim(ctrl_skb, clen+1); in ircomm_control_indication()
Dircomm_ttp.c59 int clen);
162 int clen) in ircomm_ttp_data_request() argument
168 pr_debug("%s(), clen=%d\n", __func__ , clen); in ircomm_ttp_data_request()
181 skb->data[0] = clen; in ircomm_ttp_data_request()
Dircomm_tty_attach.c513 int clen; in ircomm_tty_connect_indication() local
523 clen = skb->data[0]; in ircomm_tty_connect_indication()
524 if (clen) in ircomm_tty_connect_indication()
526 IRDA_MIN(skb->len, clen), in ircomm_tty_connect_indication()
Dircomm_tty.c1101 int clen; in ircomm_tty_control_indication() local
1107 clen = skb->data[0]; in ircomm_tty_control_indication()
1109 irda_param_extract_all(self, skb->data+1, IRDA_MIN(skb->len-1, clen), in ircomm_tty_control_indication()
/net/mac80211/
Dscan.c69 int clen, srlen; in ieee80211_bss_info_update() local
145 clen = IEEE80211_MAX_SUPP_RATES; in ieee80211_bss_info_update()
146 if (clen > elems->supp_rates_len) in ieee80211_bss_info_update()
147 clen = elems->supp_rates_len; in ieee80211_bss_info_update()
148 memcpy(bss->supp_rates, elems->supp_rates, clen); in ieee80211_bss_info_update()
149 srlen += clen; in ieee80211_bss_info_update()
152 clen = IEEE80211_MAX_SUPP_RATES - srlen; in ieee80211_bss_info_update()
153 if (clen > elems->ext_supp_rates_len) in ieee80211_bss_info_update()
154 clen = elems->ext_supp_rates_len; in ieee80211_bss_info_update()
156 clen); in ieee80211_bss_info_update()
[all …]
/net/ipv6/
Desp6.c159 int clen; in esp6_output() local
187 clen = ALIGN(skb->len + 2 + tfclen, blksize); in esp6_output()
188 plen = clen - skb->len - tfclen; in esp6_output()
227 pskb_put(skb, trailer, clen - skb->len + alen); in esp6_output()
253 assoclen + ivlen + clen + alen); in esp6_output()
257 aead_request_set_crypt(req, sg, sg, ivlen + clen, iv); in esp6_output()
/net/ipv4/
Desp4.c144 int clen; in esp_output() local
170 clen = ALIGN(skb->len + 2 + tfclen, blksize); in esp_output()
171 plen = clen - skb->len - tfclen; in esp_output()
210 pskb_put(skb, trailer, clen - skb->len + alen); in esp_output()
273 assoclen + ivlen + clen + alen); in esp_output()
276 aead_request_set_crypt(req, sg, sg, ivlen + clen, iv); in esp_output()
/net/netfilter/
Dnf_conntrack_sip.c390 else if (hdr->cname && limit - dptr >= hdr->clen + 1 && in ct_sip_get_header()
391 strncasecmp(dptr, hdr->cname, hdr->clen) == 0 && in ct_sip_get_header()
392 !isalpha(*(dptr + hdr->clen))) in ct_sip_get_header()
393 dptr += hdr->clen; in ct_sip_get_header()
1492 unsigned int matchoff, matchlen, clen; in sip_help_tcp() local
1527 clen = simple_strtoul(dptr + matchoff, (char **)&end, 10); in sip_help_tcp()
1541 end += strlen("\r\n\r\n") + clen; in sip_help_tcp()
/net/netfilter/ipvs/
Dip_vs_proto_sctp.c411 int clen = ntohs(sch->length); in set_sctp_state() local
413 if (clen >= sizeof(sctp_chunkhdr_t)) { in set_sctp_state()
414 sch = skb_header_pointer(skb, cofs + ALIGN(clen, 4), in set_sctp_state()
/net/dccp/
Dfeat.c1019 static int dccp_feat_preflist_match(u8 *servlist, u8 slen, u8 *clilist, u8 clen) in dccp_feat_preflist_match() argument
1024 for (c = 0; c < clen; c++) in dccp_feat_preflist_match()