Home
last modified time | relevance | path

Searched refs:match_len (Results 1 – 4 of 4) sorted by relevance

/net/netfilter/
Dnf_nat_helper.c34 unsigned int match_len, in mangle_contents() argument
45 data + match_offset + match_len, in mangle_contents()
47 match_offset + match_len)); in mangle_contents()
53 if (rep_len > match_len) { in mangle_contents()
55 "%u from %u bytes\n", rep_len - match_len, skb->len); in mangle_contents()
56 skb_put(skb, rep_len - match_len); in mangle_contents()
59 "%u from %u bytes\n", match_len - rep_len, skb->len); in mangle_contents()
60 __skb_trim(skb, skb->len + rep_len - match_len); in mangle_contents()
97 unsigned int match_len, in __nf_nat_mangle_tcp_packet() argument
108 if (rep_len > match_len && in __nf_nat_mangle_tcp_packet()
[all …]
Dnf_conntrack_sip.c416 *matchlen = hdr->match_len(ct, dptr, limit, &shift); in ct_sip_get_header()
448 *matchlen = hdr->match_len(ct, dptr, limit, &shift); in ct_sip_next_header()
763 *matchlen = hdr->match_len(ct, dptr, limit, &shift); in ct_sip_get_sdp_header()
/net/wireless/
Dmlme.c409 int match_len; member
458 int match_len) in cfg80211_mlme_register_mgmt() argument
479 nreg = kzalloc(sizeof(*reg) + match_len, GFP_KERNEL); in cfg80211_mlme_register_mgmt()
486 int mlen = min(match_len, reg->match_len); in cfg80211_mlme_register_mgmt()
502 memcpy(nreg->match, match_data, match_len); in cfg80211_mlme_register_mgmt()
503 nreg->match_len = match_len; in cfg80211_mlme_register_mgmt()
699 if (reg->match_len > data_len) in cfg80211_rx_mgmt()
702 if (memcmp(reg->match, data, reg->match_len)) in cfg80211_rx_mgmt()
Dcore.h356 int match_len);