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() 352 } while (oldpos == pos + e->next_offset); in mark_source_chains() 355 size = e->next_offset; in mark_source_chains() 373 newpos = pos + e->next_offset; in mark_source_chains() 464 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks() 467 if (e->next_offset in check_entry_size_and_hooks() 475 e->next_offset); in check_entry_size_and_hooks() 688 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user() 1082 (unsigned char *)e + e->next_offset > limit) in check_compat_entry_size_and_hooks() 1085 if (e->next_offset < sizeof(struct compat_arpt_entry) + in check_compat_entry_size_and_hooks() [all …]
|
D | ip_tables.c | 220 return (void *)entry + entry->next_offset; in ipt_next_entry() 416 } while (oldpos == pos + e->next_offset); in mark_source_chains() 419 size = e->next_offset; in mark_source_chains() 437 newpos = pos + e->next_offset; in mark_source_chains() 601 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks() 604 if (e->next_offset in check_entry_size_and_hooks() 612 e->next_offset); in check_entry_size_and_hooks() 830 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user() 1221 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local 1246 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user() [all …]
|
/net/ipv6/netfilter/ |
D | ip6_tables.c | 245 return (void *)entry + entry->next_offset; in ip6t_next_entry() 435 } while (oldpos == pos + e->next_offset); in mark_source_chains() 438 size = e->next_offset; in mark_source_chains() 456 newpos = pos + e->next_offset; in mark_source_chains() 620 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks() 623 if (e->next_offset in check_entry_size_and_hooks() 631 e->next_offset); in check_entry_size_and_hooks() 847 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user() 1238 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local 1263 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user() [all …]
|
/net/bridge/netfilter/ |
D | ebtables.c | 169 return (void *)entry + entry->next_offset; in ebt_next_entry() 471 if (left < e->next_offset) in ebt_verify_pointers() 473 if (e->next_offset < sizeof(struct ebt_entry)) in ebt_verify_pointers() 475 offset += e->next_offset; in ebt_verify_pointers() 533 e->target_offset >= e->next_offset) in ebt_check_entry_size_and_hooks() 537 if (e->next_offset - e->target_offset < sizeof(struct ebt_entry_target)) in ebt_check_entry_size_and_hooks() 708 gap = e->next_offset - e->target_offset; in ebt_check_entry() 789 e->next_offset) in check_chainloops() 1598 u32 watchers_offset, target_offset, next_offset; in compat_copy_entry_to_user() local 1638 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user() [all …]
|
/net/llc/ |
D | llc_conn.c | 644 int state, ev_type, next_offset; in llc_build_offset_table() local 648 next_offset = 0; in llc_build_offset_table() 650 llc_offset_table[state][ev_type] = next_offset; in llc_build_offset_table() 651 next_offset += llc_find_next_offset(curr_state, in llc_build_offset_table() 652 next_offset) + 1; in llc_build_offset_table()
|
/net/netfilter/ |
D | x_tables.c | 802 unsigned int next_offset) in xt_compat_check_entry_offsets() argument 811 if (target_offset + sizeof(*t) > next_offset) in xt_compat_check_entry_offsets() 818 if (target_offset + t->u.target_size > next_offset) in xt_compat_check_entry_offsets() 824 if (COMPAT_XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_compat_check_entry_offsets() 895 unsigned int next_offset) in xt_check_entry_offsets() argument 905 if (target_offset + sizeof(*t) > next_offset) in xt_check_entry_offsets() 912 if (target_offset + t->u.target_size > next_offset) in xt_check_entry_offsets() 918 if (XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_check_entry_offsets()
|
/net/openvswitch/ |
D | flow_netlink.c | 2431 int next_offset = offsetof(struct sw_flow_actions, actions) + in reserve_sfa_size() local 2434 if (req_size <= (ksize(*sfa) - next_offset)) in reserve_sfa_size() 2437 new_acts_size = max(next_offset + req_size, ksize(*sfa) * 2); in reserve_sfa_size() 2440 if ((next_offset + req_size) > MAX_ACTIONS_BUFSIZE) { in reserve_sfa_size() 2460 return (struct nlattr *) ((unsigned char *)(*sfa) + next_offset); in reserve_sfa_size()
|
/net/mac80211/ |
D | util.c | 4147 u32 next_offset = BIT(31) - 1; in ieee80211_update_p2p_noa() local 4163 if (next_offset > start) in ieee80211_update_p2p_noa() 4164 next_offset = start; in ieee80211_update_p2p_noa() 4170 next_offset = ieee80211_get_noa_absent_time(data, tsf); in ieee80211_update_p2p_noa() 4172 data->next_tsf = tsf + next_offset; in ieee80211_update_p2p_noa()
|