Macros | |
#define | NULL ((void *)0) |
#define | offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) |
#define | container_of(ptr, type, member) |
container_of - cast a member of a structure out to the containing structure More... | |
#define | typecheck(type, x) |
#define container_of | ( | ptr, | |
type, | |||
member | |||
) |
container_of - cast a member of a structure out to the containing structure
: the pointer to the member. : the type of the container struct this is embedded in. : the name of the member within the struct.
#define NULL ((void *)0) |
Referenced by __attribute__(), __cache_pickup(), __callback(), __copy_fast(), __fmtstring(), __labelmap_get_name(), __labelmap_new(), __nft_expr_lookup_ops(), __nl_read_num_str_file(), __rtnl_class_lookup_ops(), __rtnl_cls_lookup_ops(), __rtnl_qdisc_lookup_ops(), __snprintf_conntrack_xml(), __snprintf_protocol(), __ulogd_log(), _ebt_check_inverse(), add_action(), add_bitwise_u16(), add_cmp_ptr(), add_counters(), add_jumpto(), add_match(), add_meta(), add_payload(), add_target(), add_verdict(), addr_to_anyname(), alloc_nft_chain(), alloc_nft_expr(), alloc_nft_rule(), alloc_nft_set(), alloc_nft_table(), arptables_insmod(), author_destroy(), author_new(), author_update(), bitmask_alloc(), bitmask_dup(), bitmask_expr_to_binops(), build_template_for_bitmask(), cache_create(), cache_object_new(), cache_update_force(), chain_alloc(), chain_hookname_lookup(), chain_lookup(), chain_type_name_lookup(), channel_init(), channel_open(), cli_init(), close_log(), cmd_free(), command_default(), compare_targets(), concat_type_alloc(), config_parse_file(), constant_expr_alloc(), constant_expr_splice(), create_evfd(), create_fds(), ct_expr_update_type(), ct_filter_add_ip(), ct_filter_create(), cthelper_init(), ctnl_init(), datatype_lookup(), datatype_lookup_byname(), datatype_print(), debug_nfct_cb(), dlog(), dlog_ct(), dlog_exp(), do_command(), do_command4(), do_command6(), do_commandarp(), do_commandx(), do_gettimeofday(), dotted_to_addr(), ebt_add_match(), ebt_add_watcher(), ebt_check_for_loops(), ebt_cleanup_replace(), ebt_deliver_counters(), ebt_deliver_table(), ebt_get_mac_and_mask(), ebt_get_table(), ebt_initialize_entry(), ebt_name_to_chain(), ebt_new_chain(), ebt_parse_ip6_address(), ebt_parse_ip_address(), ebt_register_match(), ebt_register_target(), ebt_register_watcher(), ebtables_insmod(), endethertypeent(), erec_print(), exit_printhelp(), exp2msg(), exp_filter_add(), exp_filter_create(), exp_filter_find(), expr_basetype(), expr_describe(), expr_free(), exthdr_expr_alloc(), exthdr_init_raw(), find_match(), find_target(), fini_nssocket(), flag_expr_alloc(), flnl_request_get_addr(), fork_process_new(), generic_opt_check(), genl_ctrl_resolve(), genl_ctrl_search(), genl_ctrl_search_by_name(), genl_family_add_op(), genl_family_get_name(), genl_op2name(), genl_register(), genlmsg_put(), get16_and_mask(), get_next_alarm_run(), getethertypebyname(), getethertypebynumber(), getethertypeent(), getlength_and_mask(), getmac_and_mask(), handle_merge(), handle_qacb(), hashtable_create(), hashtable_find(), helper_find(), icmp_to_name(), icmpv6_to_name(), id_to_icmp(), id_to_icmpv6(), in6_pton(), init(), init_log(), init_nssocket(), interval_map_decompose(), ip6tables_main(), ip6tables_restore_main(), ip6tables_save_main(), ip_set_alloc(), ipq_create_handle(), ipq_set_verdict(), ipset_cache_add(), ipset_cache_del(), ipset_cache_rename(), ipset_cache_swap(), ipset_cmd(), ipset_commit(), ipset_data_get(), ipset_data_setname(), ipset_load_types(), ipset_match_cmd(), ipset_match_envopt(), ipset_match_option(), ipset_parse_after(), ipset_parse_before(), ipset_parse_elem(), ipset_parse_file(), ipset_parse_iptimeout(), ipset_parse_name_compat(), ipset_parse_proto(), ipset_parse_proto_port(), ipset_parse_setname(), ipset_parse_tcpudp_port(), ipset_parse_typename(), ipset_port_usage(), ipset_print_icmp(), ipset_print_icmpv6(), ipset_session_init(), ipset_session_report_reset(), ipset_type_add(), ipset_type_check(), ipset_type_get(), ipset_typename_resolve(), iptables_main(), iptables_restore_main(), iptables_save_main(), iptables_xml_main(), ipulog_create_handle(), ipulog_get_packet(), keyh_getname(), keyh_getres(), killer(), load_proto(), lookup_cls_mod(), main(), mcast_client_create(), mcast_server_create(), mnl_attr_nest_start_check(), mnl_batch_supported(), mnl_batch_talk(), mnl_cb_run(), mnl_chain_dump(), mnl_event_nssocket(), mnl_genid_get(), mnl_nft_chain_add(), mnl_nft_chain_delete(), mnl_nft_chain_dump(), mnl_nft_rule_add(), mnl_nft_rule_delete(), mnl_nft_rule_dump(), mnl_nft_ruleset_dump(), mnl_nft_set_delete(), mnl_nft_set_dump(), mnl_nft_setelem_add(), mnl_nft_setelem_batch_add(), mnl_nft_setelem_delete(), mnl_nft_table_add(), mnl_nft_table_delete(), mnl_nft_table_dump(), mnl_nlmsg_batch_start(), mnl_nssocket_open(), mnl_rule_dump(), mnl_ruleset_dump(), mnl_set_dump(), mnl_socket_fdopen(), mnl_socket_open(), mnl_socket_recvfrom(), mnl_table_dump(), mpn_perfect_square_p(), mpz_cdiv_q(), mpz_cdiv_q_ui(), mpz_cdiv_r(), mpz_cdiv_r_ui(), mpz_cdiv_ui(), mpz_divexact(), mpz_divexact_ui(), mpz_divisible_p(), mpz_divisible_ui_p(), mpz_export_data(), mpz_fdiv_q(), mpz_fdiv_q_ui(), mpz_fdiv_r(), mpz_fdiv_r_ui(), mpz_fdiv_ui(), mpz_gcd_ui(), mpz_get_str(), mpz_invert(), mpz_lcm_ui(), mpz_mod(), mpz_mod_ui(), mpz_out_str(), mpz_perfect_square_p(), mpz_powm(), mpz_printf(), mpz_probab_prime_p(), mpz_sqrt(), mpz_tdiv_q(), mpz_tdiv_q_ui(), mpz_tdiv_r(), mpz_tdiv_r_ui(), mpz_tdiv_ui(), msg2ct(), msg2exp(), msgb_alloc(), msgb_pull(), multichannel_open(), netem_build_msg(), netlink_delinearize_rule(), netlink_dump_ruleset(), netlink_get_set(), netlink_get_setelems(), netlink_io_error(), netlink_list_chains(), netlink_list_sets(), netlink_list_tables(), nfacct_attr_get(), nfct_attr_grp_is_set(), nfct_attr_grp_unset(), nfct_attr_is_set(), nfct_attr_is_set_array(), nfct_attr_unset(), nfct_bitmask_new(), nfct_build_conntrack(), nfct_build_tuple(), nfct_callback_register(), nfct_callback_register2(), nfct_callback_unregister(), nfct_callback_unregister2(), nfct_catch(), nfct_clone(), nfct_close(), nfct_cmp(), nfct_compare(), nfct_copy(), nfct_destroy(), nfct_filter_add_attr(), nfct_filter_attach(), nfct_filter_destroy(), nfct_filter_dump_destroy(), nfct_filter_dump_set_attr(), nfct_get_attr(), nfct_get_attr_grp(), nfct_get_attr_u16(), nfct_get_attr_u32(), nfct_get_attr_u64(), nfct_get_attr_u8(), nfct_getobjopt(), nfct_helper_attr_get(), nfct_mnl_open(), nfct_new(), nfct_open(), nfct_open_nfnl(), nfct_parse_conntrack(), nfct_query(), nfct_send(), nfct_set_attr_grp(), nfct_set_attr_l(), nfct_setobjopt(), nfct_sizeof(), nfct_snprintf(), nfct_timeout_alloc(), nfct_timeout_policy_attr_set_u32(), nfct_timeout_policy_attr_to_name(), nfexp_attr_is_set(), nfexp_attr_unset(), nfexp_build_expect(), nfexp_callback_register(), nfexp_callback_register2(), nfexp_callback_unregister(), nfexp_callback_unregister2(), nfexp_catch(), nfexp_clone(), nfexp_cmp(), nfexp_destroy(), nfexp_get_attr(), nfexp_get_attr_u16(), nfexp_get_attr_u32(), nfexp_get_attr_u8(), nfexp_new(), nfexp_parse_expect(), nfexp_query(), nfexp_send(), nfexp_set_attr(), nfexp_sizeof(), nfexp_snprintf(), nflog_bind_group(), nflog_open(), nflog_open_nfnl(), nflog_snprintf_xml(), nfnl_callback_unregister(), nfnl_ct_get_dst(), nfnl_ct_get_src(), nfnl_fill_hdr(), nfnl_get_msg_first(), nfnl_get_msg_next(), nfnl_iterator_create(), nfnl_log_msg_get_hwaddr(), nfnl_log_msg_get_payload(), nfnl_log_msg_get_timestamp(), nfnl_nft_bitwise_init(), nfnl_nft_byteorder_init(), nfnl_nft_chain_set_name(), nfnl_nft_chain_set_table(), nfnl_nft_cmp_init(), nfnl_nft_counter_init(), nfnl_nft_ct_init(), nfnl_nft_data_alloc(), nfnl_nft_data_parse(), nfnl_nft_data_put(), nfnl_nft_expr_build_message(), nfnl_nft_expr_parse(), nfnl_nft_exthdr_init(), nfnl_nft_immediate_init(), nfnl_nft_limit_init(), nfnl_nft_log_init(), nfnl_nft_lookup_init(), nfnl_nft_meta_init(), nfnl_nft_nat_init(), nfnl_nft_payload_init(), nfnl_nft_rule_set_chain(), nfnl_nft_rule_set_table(), nfnl_nft_set_dump_request(), nfnl_nft_set_set_name(), nfnl_nft_set_set_table(), nfnl_nft_setelem_build_delete_request(), nfnl_nft_setelem_build_query_request(), nfnl_nft_setelem_dump_request(), nfnl_nft_table_set_name(), nfnl_nft_verdict_alloc(), nfnl_nft_verdict_set_chain(), nfnl_open(), nfnl_parse_hdr(), nfnl_queue_msg_build_verdict(), nfnl_queue_msg_get_hwaddr(), nfnl_queue_msg_get_payload(), nfnl_queue_msg_get_timestamp(), nfnl_queue_msg_send_verdict(), nfnl_queue_msg_send_verdict_payload(), nfnl_sendiov(), nfnl_subsys_close(), nfnl_subsys_open(), nfnlmsg_alloc_simple(), nfnlmsg_nft_set_parse(), nfnlmsg_put(), nfq_create_queue(), nfq_ip6_get_hdr(), nfq_ip6_set_transport_header(), nfq_ip_get_hdr(), nfq_open(), nfq_open_nfnl(), nfq_set_verdict_batch(), nfq_set_verdict_batch2(), nfq_snprintf_xml(), nfq_tcp_get_hdr(), nfq_tcp_get_payload(), nfq_udp_get_hdr(), nfq_udp_get_payload(), nft_batch_is_supported(), nft_chain_add(), nft_chain_attr_get_data(), nft_chain_attr_unset(), nft_chain_free(), nft_chain_list_alloc(), nft_chain_list_find(), nft_chain_list_iter_create(), nft_chain_list_iter_next(), nft_chain_save(), nft_chain_set(), nft_chain_user_add(), nft_chain_user_del(), nft_chain_user_rename(), nft_chain_zero_counters(), nft_compatible_revision(), nft_data_reg_json_parse(), nft_data_reg_xml_parse(), nft_event_footer_fprintf(), nft_event_header_fprintf(), nft_expr_ops_lookup(), nft_family2str(), nft_family_ops_lookup(), nft_fd_register(), nft_for_each_table(), nft_fprintf(), nft_gen_attr_get_data(), nft_gen_attr_get_u32(), nft_init(), nft_parse_immediate(), nft_parse_target(), nft_rule_alloc(), nft_rule_append(), nft_rule_attr_get_data(), nft_rule_attr_unset(), nft_rule_check(), nft_rule_delete(), nft_rule_delete_num(), nft_rule_expr_alloc(), nft_rule_expr_get(), nft_rule_expr_get_u16(), nft_rule_expr_get_u32(), nft_rule_expr_get_u64(), nft_rule_expr_get_u8(), nft_rule_expr_iter_create(), nft_rule_expr_iter_next(), nft_rule_flush(), nft_rule_free(), nft_rule_insert(), nft_rule_list(), nft_rule_list_alloc(), nft_rule_list_iter_create(), nft_rule_list_iter_next(), nft_rule_list_save(), nft_rule_nlmsg_parse(), nft_rule_replace(), nft_rule_save(), nft_rule_to_arptables_command_state(), nft_rule_to_iptables_command_state(), nft_rule_zero_counters(), nft_ruleset_attr_get(), nft_ruleset_attr_unset(), nft_ruleset_fprintf(), nft_set_alloc(), nft_set_attr_get_data(), nft_set_attr_unset(), nft_set_elem_alloc(), nft_set_elem_attr_get(), nft_set_elem_attr_unset(), nft_set_elem_free(), nft_set_elems_iter_create(), nft_set_elems_iter_next(), nft_set_elems_nlmsg_build_payload_iter(), nft_set_free(), nft_set_list_alloc(), nft_set_list_iter_create(), nft_set_list_iter_next(), nft_set_lookup_id(), nft_str2family(), nft_strerror(), nft_sync_event_init(), nft_sync_log(), nft_sync_log_fini(), nft_sync_log_init(), nft_table_add(), nft_table_attr_get_data(), nft_table_attr_get_u32(), nft_table_attr_get_u8(), nft_table_attr_unset(), nft_table_find(), nft_table_list_alloc(), nft_table_list_iter_create(), nft_table_list_iter_next(), nft_table_purge_chains(), nft_timer_add(), nft_xtables_config_load(), nfts_socket_open(), nl_addr_alloc(), nl_addr_build(), nl_addr_info(), nl_addr_parse(), nl_addr_resolve(), nl_cache_alloc(), nl_cache_dump(), nl_cache_dump_filter(), nl_cache_foreach(), nl_cache_foreach_filter(), nl_cache_get_first(), nl_cache_get_last(), nl_cache_get_next(), nl_cache_get_prev(), nl_cache_mngr_add(), nl_cache_mngr_alloc(), nl_cache_mngt_require(), nl_cache_mngt_unprovide(), nl_cache_mngt_unregister(), nl_cache_nitems_filter(), nl_cache_ops_associate(), nl_cache_ops_lookup(), nl_cache_parse_and_add(), nl_cache_remove(), nl_cache_request_full_dump(), nl_cache_search(), nl_cache_subset(), nl_cb_alloc(), nl_cb_clone(), nl_cli_route_parse_metric(), nl_cli_route_parse_nexthop(), nl_create_conntrack(), nl_create_expect(), nl_data_alloc(), nl_data_get(), nl_flush_conntrack_table_selective(), nl_get_conntrack(), nl_get_expect(), nl_init_event_handler(), nl_init_interface_handler(), nl_msg_parse(), nl_msgtype_lookup(), nl_object_alloc(), nl_object_attrs2str(), nl_object_clone(), nl_object_diff(), nl_object_identical(), nl_object_match_filter(), nl_recv(), nl_send_iovec(), nl_socket_alloc(), nl_socket_alloc_cb(), nl_socket_disable_seq_check(), nl_update_conntrack(), nl_wait_for_ack(), nla_find(), nla_nest_start(), nla_put_flag(), nla_reserve(), nlif_catch(), nlif_close(), nlif_fd(), nlif_get_ifflags(), nlif_index2name(), nlif_open(), nlif_query(), nlmsg_append(), nlmsg_convert(), nlmsg_expand(), nlmsg_get_creds(), nlmsg_put(), nlmsg_reserve(), origin_register(), parse_commandline(), parse_hostnetwork(), parse_hostnetworkmask(), payload_expr_alloc(), payload_expr_complete(), payload_expr_expand(), payload_expr_join(), payload_gen_dependency(), pktb_alloc(), print_extension_helps(), print_matches_and_target(), proto_dev_desc(), proto_find_upper(), proto_to_name(), queue_create(), queue_del(), queue_object_new(), rb_erase(), rb_first(), rb_last(), rb_next(), rb_prev(), register_cls_module(), register_fd(), register_match(), register_target(), rt_symbol_table_free(), rt_symbol_table_init(), rtnl_addr_get_label(), rtnl_class_get(), rtnl_class_leaf_qdisc(), rtnl_class_register(), rtnl_class_unregister(), rtnl_cls_data(), rtnl_cls_register(), rtnl_cls_unregister(), rtnl_ematch_alloc(), rtnl_ematch_lookup_ops(), rtnl_ematch_lookup_ops_name(), rtnl_ematch_tree_alloc(), rtnl_handler_unregister(), rtnl_htb_set_cbuffer(), rtnl_htb_set_ceil(), rtnl_htb_set_defcls(), rtnl_htb_set_mpu(), rtnl_htb_set_mtu(), rtnl_htb_set_overhead(), rtnl_htb_set_prio(), rtnl_htb_set_quantum(), rtnl_htb_set_rate(), rtnl_htb_set_rate2quantum(), rtnl_htb_set_rbuffer(), rtnl_link_get(), rtnl_link_get_addr(), rtnl_link_get_broadcast(), rtnl_link_get_by_name(), rtnl_link_get_info_type(), rtnl_link_get_name(), rtnl_link_get_qdisc(), rtnl_link_i2name(), rtnl_link_info_ops_lookup(), rtnl_link_register_info(), rtnl_link_set_info_type(), rtnl_link_unregister_info(), rtnl_link_vlan_get_egress_map(), rtnl_link_vlan_get_ingress_map(), rtnl_neigh_get(), rtnl_neigh_get_dst(), rtnl_neigh_get_lladdr(), rtnl_neightbl_build_change_request(), rtnl_neightbl_get(), rtnl_netem_set_delay_distribution(), rtnl_open(), rtnl_qdisc_get(), rtnl_qdisc_get_by_parent(), rtnl_qdisc_get_opts(), rtnl_qdisc_prio_get_priomap(), rtnl_qdisc_register(), rtnl_qdisc_unregister(), rtnl_route_build_msg(), rtnl_route_nexthop_n(), rtnl_route_nh_alloc(), rtnl_route_nh_clone(), rtnl_route_nh_set_gateway(), rtnl_route_parse(), rtnl_rule_get_dst(), rtnl_rule_get_iif(), rtnl_rule_get_src(), rtnl_u32_add_key(), rule_alloc(), rule_postprocess(), rx(), rx_cmd(), save_firewall_details(), save_matches_and_target(), set_alloc(), set_free(), set_lookup(), set_lookup_global(), setethertypeent(), stack_create(), stack_item_alloc(), stack_item_pop(), subcmd_main(), symbol_lookup(), symbol_parse(), symbol_table_print(), symbolic_constant_parse(), symbolic_constant_print(), table_lookup(), TC_CHECK_PACKET(), TC_COMMIT(), TC_DELETE_ENTRY(), TC_DELETE_NUM_ENTRY(), TC_FIRST_CHAIN(), TC_FIRST_RULE(), TC_GET_POLICY(), TC_GET_TARGET(), TC_INIT(), TC_IS_CHAIN(), TC_NEXT_CHAIN(), TC_NEXT_RULE(), TC_READ_COUNTER(), TC_STRERROR(), tcp_accept(), tcp_client_create(), tcp_client_start(), tcp_echo(), tcp_server_create(), tcp_server_start(), udp_client_create(), udp_server_create(), ulogd_add_timer(), ulogd_db_signal(), ulogd_db_start(), ulogd_db_stop(), ulogd_do_timer_run(), ulogd_get_next_timer_run(), ulogd_parse_addr(), vector_add(), vector_create(), verdict_expr_alloc(), xmalloc(), xrealloc(), xs_init_match(), xs_init_target(), xstrdup(), xtables_calloc(), xtables_config_main(), xtables_events_main(), xtables_find_match(), xtables_find_target(), xtables_free_opts(), xtables_init(), xtables_insmod(), xtables_ip6addr_to_anyname(), xtables_ip6parse_any(), xtables_ip6parse_multiple(), xtables_ipaddr_to_anyname(), xtables_ipparse_any(), xtables_ipparse_multiple(), xtables_lmap_free(), xtables_lmap_id2name(), xtables_lmap_init(), xtables_lmap_name2id(), xtables_malloc(), xtables_merge_options(), xtables_numeric_to_ip6addr(), xtables_option_metavalidate(), xtables_option_mfcall(), xtables_option_mpcall(), xtables_option_parse(), xtables_option_tfcall(), xtables_option_tpcall(), xtables_options_fcheck(), xtables_options_xfrm(), xtables_parse_port(), xtables_parse_protocol(), xtables_realloc(), xtables_register_match(), xtables_register_target(), xtables_rule_matches_free(), xtables_save_string(), xtables_service_to_port(), xtables_strtoui(), and xtables_strtoul().