Home
last modified time | relevance | path

Searched refs:match_offset (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_nat_helper.c27 unsigned int match_offset, in mangle_contents()
38 memmove(data + match_offset + rep_len, in mangle_contents()
39 data + match_offset + match_len, in mangle_contents()
41 match_offset + match_len)); in mangle_contents()
44 memcpy(data + match_offset, rep_buffer, rep_len); in mangle_contents()
90 unsigned int match_offset, in __nf_nat_mangle_tcp_packet()
110 match_offset, match_len, rep_buffer, rep_len); in __nf_nat_mangle_tcp_packet()
140 unsigned int match_offset, in nf_nat_mangle_udp_packet()
160 match_offset, match_len, rep_buffer, rep_len); in nf_nat_mangle_udp_packet()
25 mangle_contents(struct sk_buff *skb, unsigned int dataoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) mangle_contents() argument
86 __nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len, bool adjust) __nf_nat_mangle_tcp_packet() argument
136 nf_nat_mangle_udp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) nf_nat_mangle_udp_packet() argument
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_nat_helper.c27 unsigned int match_offset, in mangle_contents()
38 memmove(data + match_offset + rep_len, in mangle_contents()
39 data + match_offset + match_len, in mangle_contents()
41 match_offset + match_len)); in mangle_contents()
44 memcpy(data + match_offset, rep_buffer, rep_len); in mangle_contents()
90 unsigned int match_offset, in __nf_nat_mangle_tcp_packet()
110 match_offset, match_len, rep_buffer, rep_len); in __nf_nat_mangle_tcp_packet()
140 unsigned int match_offset, in nf_nat_mangle_udp_packet()
160 match_offset, match_len, rep_buffer, rep_len); in nf_nat_mangle_udp_packet()
25 mangle_contents(struct sk_buff *skb, unsigned int dataoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) mangle_contents() argument
86 __nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len, bool adjust) __nf_nat_mangle_tcp_packet() argument
136 nf_nat_mangle_udp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) nf_nat_mangle_udp_packet() argument
/kernel/linux/linux-5.10/include/net/netfilter/
H A Dnf_nat_helper.h13 unsigned int protoff, unsigned int match_offset,
21 unsigned int match_offset, in nf_nat_mangle_tcp_packet()
27 match_offset, match_len, in nf_nat_mangle_tcp_packet()
33 unsigned int protoff, unsigned int match_offset,
17 nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) nf_nat_mangle_tcp_packet() argument
/kernel/linux/linux-6.6/fs/ntfs3/lib/
H A Dlzx_decompress.c483 u32 match_offset; in lzx_decompress_block() local
514 match_offset = recent_offsets[offset_slot]; in lzx_decompress_block()
516 recent_offsets[0] = match_offset; in lzx_decompress_block()
526 match_offset = lzx_offset_slot_base[offset_slot]; in lzx_decompress_block()
534 match_offset += in lzx_decompress_block()
538 match_offset += read_alignedsym(d, is); in lzx_decompress_block()
540 match_offset += bitstream_read_bits(is, num_extra_bits); in lzx_decompress_block()
544 match_offset -= (LZX_NUM_RECENT_OFFSETS - 1); in lzx_decompress_block()
549 recent_offsets[0] = match_offset; in lzx_decompress_block()
557 if (match_offset > (size_ in lzx_decompress_block()
[all...]
/kernel/linux/linux-6.6/include/net/netfilter/
H A Dnf_nat_helper.h13 unsigned int protoff, unsigned int match_offset,
21 unsigned int match_offset, in nf_nat_mangle_tcp_packet()
27 match_offset, match_len, in nf_nat_mangle_tcp_packet()
33 unsigned int protoff, unsigned int match_offset,
17 nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len) nf_nat_mangle_tcp_packet() argument
/kernel/linux/linux-5.10/include/net/
H A Dcfg80211.h5681 * @match_offset: offset in the IE data where the byte array should match.
5698 unsigned int match_offset);
5708 * @match_offset: offset in the IE where the byte array should match.
5727 unsigned int match_offset) in cfg80211_find_ie_match()
5729 /* match_offset can't be smaller than 2, unless match_len is in cfg80211_find_ie_match()
5730 * zero, in which case match_offset must be zero as well. in cfg80211_find_ie_match()
5732 if (WARN_ON((match_len && match_offset < 2) || in cfg80211_find_ie_match()
5733 (!match_len && match_offset))) in cfg80211_find_ie_match()
5738 match_offset ? in cfg80211_find_ie_match()
5739 match_offset in cfg80211_find_ie_match()
5725 cfg80211_find_ie_match(u8 eid, const u8 *ies, unsigned int len, const u8 *match, unsigned int match_len, unsigned int match_offset) cfg80211_find_ie_match() argument
[all...]
/kernel/linux/linux-5.10/drivers/pci/
H A Dpci-acpi.c419 u16 match_offset; member
537 pci_read_config_dword(dev, pos + reg->match_offset, &match_reg); in program_hpx_type3_register()
578 hpx3_reg->match_offset = reg_fields[8].integer.value; in parse_hpx3_register()
/kernel/linux/linux-6.6/drivers/pci/
H A Dpci-acpi.c421 u16 match_offset; member
539 pci_read_config_dword(dev, pos + reg->match_offset, &match_reg); in program_hpx_type3_register()
580 hpx3_reg->match_offset = reg_fields[8].integer.value; in parse_hpx3_register()
/kernel/linux/linux-6.6/include/net/
H A Dcfg80211.h6519 * @match_offset: offset in the IE data where the byte array should match.
6536 unsigned int match_offset);
6546 * @match_offset: offset in the IE where the byte array should match.
6565 unsigned int match_offset) in cfg80211_find_ie_match()
6567 /* match_offset can't be smaller than 2, unless match_len is in cfg80211_find_ie_match()
6568 * zero, in which case match_offset must be zero as well. in cfg80211_find_ie_match()
6570 if (WARN_ON((match_len && match_offset < 2) || in cfg80211_find_ie_match()
6571 (!match_len && match_offset))) in cfg80211_find_ie_match()
6576 match_offset ? in cfg80211_find_ie_match()
6577 match_offset in cfg80211_find_ie_match()
6563 cfg80211_find_ie_match(u8 eid, const u8 *ies, unsigned int len, const u8 *match, unsigned int match_len, unsigned int match_offset) cfg80211_find_ie_match() argument
[all...]
/kernel/linux/linux-5.10/net/wireless/
H A Dscan.c1270 unsigned int match_offset) in cfg80211_find_elem_match()
1275 if (elem->datalen >= match_offset + match_len && in cfg80211_find_elem_match()
1276 !memcmp(elem->data + match_offset, match, match_len)) in cfg80211_find_elem_match()
1268 cfg80211_find_elem_match(u8 eid, const u8 *ies, unsigned int len, const u8 *match, unsigned int match_len, unsigned int match_offset) cfg80211_find_elem_match() argument
/kernel/linux/linux-6.6/net/wireless/
H A Dscan.c1306 unsigned int match_offset) in cfg80211_find_elem_match()
1311 if (elem->datalen >= match_offset + match_len && in cfg80211_find_elem_match()
1312 !memcmp(elem->data + match_offset, match, match_len)) in cfg80211_find_elem_match()
1304 cfg80211_find_elem_match(u8 eid, const u8 *ies, unsigned int len, const u8 *match, unsigned int match_len, unsigned int match_offset) cfg80211_find_elem_match() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c2766 u32 match_offset; member
2918 void *match_mask = headers_c + f->match_offset; in offload_pedit_fields()
2919 void *match_val = headers_v + f->match_offset; in offload_pedit_fields()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c3081 u32 match_offset; member
3240 void *match_mask = headers_c + f->match_offset; in offload_pedit_fields()
3241 void *match_val = headers_v + f->match_offset; in offload_pedit_fields()

Completed in 78 milliseconds