Searched refs:next_offset (Results 1 – 8 of 8) sorted by relevance
/net/ipv4/netfilter/ |
D | arp_tables.c | 179 return (void *)entry + entry->next_offset; in arpt_next_entry() 353 } while (oldpos == pos + e->next_offset); in mark_source_chains() 356 size = e->next_offset; in mark_source_chains() 374 newpos = pos + e->next_offset; in mark_source_chains() 465 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks() 468 if (e->next_offset in check_entry_size_and_hooks() 476 e->next_offset); in check_entry_size_and_hooks() 689 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user() 1087 (unsigned char *)e + e->next_offset > limit) in check_compat_entry_size_and_hooks() 1090 if (e->next_offset < sizeof(struct compat_arpt_entry) + in check_compat_entry_size_and_hooks() [all …]
|
D | ip_tables.c | 218 return (void *)entry + entry->next_offset; in ipt_next_entry() 415 } while (oldpos == pos + e->next_offset); in mark_source_chains() 418 size = e->next_offset; in mark_source_chains() 436 newpos = pos + e->next_offset; in mark_source_chains() 600 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks() 603 if (e->next_offset in check_entry_size_and_hooks() 611 e->next_offset); in check_entry_size_and_hooks() 829 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user() 1224 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local 1249 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user() [all …]
|
/net/ipv6/netfilter/ |
D | ip6_tables.c | 243 return (void *)entry + entry->next_offset; in ip6t_next_entry() 433 } while (oldpos == pos + e->next_offset); in mark_source_chains() 436 size = e->next_offset; in mark_source_chains() 454 newpos = pos + e->next_offset; in mark_source_chains() 618 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks() 621 if (e->next_offset in check_entry_size_and_hooks() 629 e->next_offset); in check_entry_size_and_hooks() 845 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user() 1240 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local 1265 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user() [all …]
|
/net/bridge/netfilter/ |
D | ebtables.c | 182 return (void *)entry + entry->next_offset; in ebt_next_entry() 510 if (left < e->next_offset) in ebt_verify_pointers() 512 if (e->next_offset < sizeof(struct ebt_entry)) in ebt_verify_pointers() 514 offset += e->next_offset; in ebt_verify_pointers() 572 e->target_offset >= e->next_offset) in ebt_check_entry_size_and_hooks() 576 if (e->next_offset - e->target_offset < sizeof(struct ebt_entry_target)) in ebt_check_entry_size_and_hooks() 747 gap = e->next_offset - e->target_offset; in ebt_check_entry() 828 e->next_offset) in check_chainloops() 1716 u32 watchers_offset, target_offset, next_offset; in compat_copy_entry_to_user() local 1756 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user() [all …]
|
/net/llc/ |
D | llc_conn.c | 656 int state, ev_type, next_offset; in llc_build_offset_table() local 660 next_offset = 0; in llc_build_offset_table() 662 llc_offset_table[state][ev_type] = next_offset; in llc_build_offset_table() 663 next_offset += llc_find_next_offset(curr_state, in llc_build_offset_table() 664 next_offset) + 1; in llc_build_offset_table()
|
/net/netfilter/ |
D | x_tables.c | 822 unsigned int next_offset) in xt_compat_check_entry_offsets() argument 831 if (target_offset + sizeof(*t) > next_offset) in xt_compat_check_entry_offsets() 838 if (target_offset + t->u.target_size > next_offset) in xt_compat_check_entry_offsets() 844 if (COMPAT_XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_compat_check_entry_offsets() 915 unsigned int next_offset) in xt_check_entry_offsets() argument 925 if (target_offset + sizeof(*t) > next_offset) in xt_check_entry_offsets() 932 if (target_offset + t->u.target_size > next_offset) in xt_check_entry_offsets() 938 if (XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_check_entry_offsets()
|
/net/openvswitch/ |
D | flow_netlink.c | 2462 int next_offset = offsetof(struct sw_flow_actions, actions) + in reserve_sfa_size() local 2465 if (req_size <= (ksize(*sfa) - next_offset)) in reserve_sfa_size() 2468 new_acts_size = max(next_offset + req_size, ksize(*sfa) * 2); in reserve_sfa_size() 2471 if ((next_offset + req_size) > MAX_ACTIONS_BUFSIZE) { in reserve_sfa_size() 2491 return (struct nlattr *) ((unsigned char *)(*sfa) + next_offset); in reserve_sfa_size()
|
/net/mac80211/ |
D | util.c | 4671 u32 next_offset = BIT(31) - 1; in ieee80211_update_p2p_noa() local 4687 if (next_offset > start) in ieee80211_update_p2p_noa() 4688 next_offset = start; in ieee80211_update_p2p_noa() 4694 next_offset = ieee80211_get_noa_absent_time(data, tsf); in ieee80211_update_p2p_noa() 4696 data->next_tsf = tsf + next_offset; in ieee80211_update_p2p_noa()
|