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() 1085 (unsigned char *)e + e->next_offset > limit) in check_compat_entry_size_and_hooks() 1088 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() 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 | 245 return (void *)entry + entry->next_offset; in ip6t_next_entry() 434 } while (oldpos == pos + e->next_offset); in mark_source_chains() 437 size = e->next_offset; in mark_source_chains() 455 newpos = pos + e->next_offset; in mark_source_chains() 619 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks() 622 if (e->next_offset in check_entry_size_and_hooks() 630 e->next_offset); in check_entry_size_and_hooks() 846 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 | 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() 1665 u32 watchers_offset, target_offset, next_offset; in compat_copy_entry_to_user() local 1705 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 | 803 unsigned int next_offset) in xt_compat_check_entry_offsets() argument 812 if (target_offset + sizeof(*t) > next_offset) in xt_compat_check_entry_offsets() 819 if (target_offset + t->u.target_size > next_offset) in xt_compat_check_entry_offsets() 825 if (COMPAT_XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_compat_check_entry_offsets() 896 unsigned int next_offset) in xt_check_entry_offsets() argument 906 if (target_offset + sizeof(*t) > next_offset) in xt_check_entry_offsets() 913 if (target_offset + t->u.target_size > next_offset) in xt_check_entry_offsets() 919 if (XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_check_entry_offsets()
|
/net/openvswitch/ |
D | flow_netlink.c | 2323 int next_offset = offsetof(struct sw_flow_actions, actions) + in reserve_sfa_size() local 2326 if (req_size <= (ksize(*sfa) - next_offset)) in reserve_sfa_size() 2329 new_acts_size = max(next_offset + req_size, ksize(*sfa) * 2); in reserve_sfa_size() 2332 if ((MAX_ACTIONS_BUFSIZE - next_offset) < req_size) { in reserve_sfa_size() 2352 return (struct nlattr *) ((unsigned char *)(*sfa) + next_offset); in reserve_sfa_size()
|
/net/mac80211/ |
D | util.c | 3689 u32 next_offset = BIT(31) - 1; in ieee80211_update_p2p_noa() local 3705 if (next_offset > start) in ieee80211_update_p2p_noa() 3706 next_offset = start; in ieee80211_update_p2p_noa() 3712 next_offset = ieee80211_get_noa_absent_time(data, tsf); in ieee80211_update_p2p_noa() 3714 data->next_tsf = tsf + next_offset; in ieee80211_update_p2p_noa()
|