/linux/net/netlink/ |
H A D | genetlink.c | 57 static void genl_op_lock(const struct genl_family *family) in genl_op_lock() argument 63 static void genl_op_unlock(const struct genl_family *family) in genl_op_unlock() argument 106 genl_op_fill_in_reject_policy(const struct genl_family *family, in genl_op_fill_in_reject_policy() argument 119 genl_op_fill_in_reject_policy_split(const struct genl_family *family, in genl_op_fill_in_reject_policy_split() argument 136 const struct genl_family *family; genl_family_find_byname() local 147 const struct genl_family *family; global() member 156 genl_op_from_full(const struct genl_family * family,unsigned int i,struct genl_ops * op) genl_op_from_full() argument 169 genl_get_cmd_full(u32 cmd,const struct genl_family * family,struct genl_ops * op) genl_get_cmd_full() argument 183 genl_op_from_small(const struct genl_family * family,unsigned int i,struct genl_ops * op) genl_op_from_small() argument 200 genl_get_cmd_small(u32 cmd,const struct genl_family * family,struct genl_ops * op) genl_get_cmd_small() argument 216 const struct genl_family *family = iter->family; genl_op_from_split() local 244 genl_get_cmd_split(u32 cmd,u8 flag,const struct genl_family * family,struct genl_split_ops * op) genl_get_cmd_split() argument 261 genl_cmd_full_to_split(struct genl_split_ops * op,const struct genl_family * family,const struct genl_ops * full,u8 flags) genl_cmd_full_to_split() argument 302 genl_get_cmd(u32 cmd,u8 flags,const struct genl_family * family,struct genl_split_ops * op) genl_get_cmd() argument 325 genl_get_cmd_both(u32 cmd,const struct genl_family * family,struct genl_split_ops * doit,struct genl_split_ops * dumpit) genl_get_cmd_both() argument 337 genl_op_iter_init(const struct genl_family * family,struct genl_op_iter * iter) genl_op_iter_init() argument 352 const struct genl_family *family = iter->family; genl_op_iter_next() local 460 genl_validate_assign_mc_groups(struct genl_family * family) genl_validate_assign_mc_groups() argument 538 genl_unregister_mc_groups(const struct genl_family * family) genl_unregister_mc_groups() argument 571 genl_validate_ops(const struct genl_family * family) genl_validate_ops() argument 636 genl_sk_priv_alloc(struct genl_family * family) genl_sk_priv_alloc() argument 650 genl_sk_priv_free(const struct genl_family * family,void * priv) genl_sk_priv_free() argument 657 genl_sk_privs_alloc(struct genl_family * family) genl_sk_privs_alloc() argument 669 genl_sk_privs_free(const struct genl_family * family) genl_sk_privs_free() argument 684 genl_sk_priv_free_by_sock(struct genl_family * family,struct sock * sk) genl_sk_priv_free_by_sock() argument 699 struct genl_family *family; genl_release() local 723 __genl_sk_priv_get(struct genl_family * family,struct sock * sk) __genl_sk_priv_get() argument 742 genl_sk_priv_get(struct genl_family * family,struct sock * sk) genl_sk_priv_get() argument 780 genl_register_family(struct genl_family * family) genl_register_family() argument 855 genl_unregister_family(const struct genl_family * family) genl_unregister_family() argument 894 genlmsg_put(struct sk_buff * skb,u32 portid,u32 seq,const struct genl_family * family,int flags,u8 cmd) genlmsg_put() argument 924 genl_family_rcv_msg_attrs_parse(const struct genl_family * family,struct nlmsghdr * nlh,struct netlink_ext_ack * extack,const struct genl_split_ops * ops,int hdrlen,enum genl_validate_flags no_strict_flag) genl_family_rcv_msg_attrs_parse() argument 960 const struct genl_family *family; global() member 1051 genl_family_rcv_msg_dumpit(const struct genl_family * family,struct sk_buff * skb,struct nlmsghdr * nlh,struct netlink_ext_ack * extack,const struct genl_split_ops * ops,int hdrlen,struct net * net) genl_family_rcv_msg_dumpit() argument 1082 genl_family_rcv_msg_doit(const struct genl_family * family,struct sk_buff * skb,struct nlmsghdr * nlh,struct netlink_ext_ack * extack,const struct genl_split_ops * ops,int hdrlen,struct net * net) genl_family_rcv_msg_doit() argument 1126 genl_header_check(const struct genl_family * family,struct nlmsghdr * nlh,struct genlmsghdr * hdr,struct netlink_ext_ack * extack) genl_header_check() argument 1156 genl_family_rcv_msg(const struct genl_family * family,struct sk_buff * skb,struct nlmsghdr * nlh,struct netlink_ext_ack * extack) genl_family_rcv_msg() argument 1202 const struct genl_family *family; genl_rcv_msg() local 1229 ctrl_fill_info(const struct genl_family * family,u32 portid,u32 seq,u32 flags,struct sk_buff * skb,u8 cmd) ctrl_fill_info() argument 1312 ctrl_fill_mcgrp_info(const struct genl_family * family,const struct genl_multicast_group * grp,int grp_id,u32 portid,u32 seq,u32 flags,struct sk_buff * skb,u8 cmd) ctrl_fill_mcgrp_info() argument 1382 ctrl_build_family_msg(const struct genl_family * family,u32 portid,int seq,u8 cmd) ctrl_build_family_msg() argument 1402 ctrl_build_mcgrp_msg(const struct genl_family * family,const struct genl_multicast_group * grp,int grp_id,u32 portid,int seq,u8 cmd) ctrl_build_mcgrp_msg() argument 1476 genl_ctrl_event(int event,const struct genl_family * family,const struct genl_multicast_group * grp,int grp_id) genl_ctrl_event() argument 1814 const struct genl_family *family; genl_bind() local 1851 const struct genl_family *family; genl_unbind() local 1969 genlmsg_multicast_allns(const struct genl_family * family,struct sk_buff * skb,u32 portid,unsigned int group) genlmsg_multicast_allns() argument 1981 genl_notify(const struct genl_family * family,struct sk_buff * skb,struct genl_info * info,u32 group,gfp_t flags) genl_notify() argument [all...] |
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_listen.c | 35 int family, int sotype, int mapfd) in test_insert_invalid() argument 53 int family, int sotype, int mapfd) in test_insert_opened() argument 75 int family, int sotype, int mapfd) in test_insert_bound() argument 103 int family, int sotype, int mapfd) in test_insert() argument 120 int family, int sotype, int mapfd) in test_delete_after_insert() argument 138 test_delete_after_close(struct test_sockmap_listen * skel __always_unused,int family,int sotype,int mapfd) test_delete_after_close() argument 162 test_lookup_after_insert(struct test_sockmap_listen * skel __always_unused,int family,int sotype,int mapfd) test_lookup_after_insert() argument 191 test_lookup_after_delete(struct test_sockmap_listen * skel __always_unused,int family,int sotype,int mapfd) test_lookup_after_delete() argument 215 test_lookup_32_bit_value(struct test_sockmap_listen * skel __always_unused,int family,int sotype,int mapfd) test_lookup_32_bit_value() argument 246 test_update_existing(struct test_sockmap_listen * skel __always_unused,int family,int sotype,int mapfd) test_update_existing() argument 274 do_destroy_orphan_child(int family,int sotype,int mapfd) do_destroy_orphan_child() argument 306 test_destroy_orphan_child(struct test_sockmap_listen * skel,int family,int sotype,int mapfd) test_destroy_orphan_child() argument 336 test_clone_after_delete(struct test_sockmap_listen * skel __always_unused,int family,int sotype,int mapfd) test_clone_after_delete() argument 373 test_accept_after_delete(struct test_sockmap_listen * skel __always_unused,int family,int sotype,int mapfd) test_accept_after_delete() argument 428 test_accept_before_delete(struct test_sockmap_listen * skel __always_unused,int family,int sotype,int mapfd) test_accept_before_delete() argument 489 int family, socktype; connect_accept_thread() local 538 test_syn_recv_insert_delete(struct test_sockmap_listen * skel __always_unused,int family,int sotype,int mapfd) test_syn_recv_insert_delete() argument 602 test_race_insert_listen(struct test_sockmap_listen * skel __always_unused,int family,int socktype,int mapfd) test_race_insert_listen() argument 676 redir_to_connected(int family,int sotype,int sock_mapfd,int verd_mapfd,enum redir_mode mode) redir_to_connected() argument 725 test_skb_redir_to_connected(struct test_sockmap_listen * skel,struct bpf_map * inner_map,int family,int sotype) test_skb_redir_to_connected() argument 750 test_msg_redir_to_connected(struct test_sockmap_listen * skel,struct bpf_map * inner_map,int family,int sotype) test_msg_redir_to_connected() argument 768 test_msg_redir_to_connected_with_link(struct test_sockmap_listen * skel,struct bpf_map * inner_map,int family,int sotype) test_msg_redir_to_connected_with_link() argument 785 redir_to_listening(int family,int sotype,int sock_mapfd,int verd_mapfd,enum redir_mode mode) redir_to_listening() argument 845 test_skb_redir_to_listening(struct test_sockmap_listen * skel,struct bpf_map * inner_map,int family,int sotype) test_skb_redir_to_listening() argument 870 test_msg_redir_to_listening(struct test_sockmap_listen * skel,struct bpf_map * inner_map,int family,int sotype) test_msg_redir_to_listening() argument 888 test_msg_redir_to_listening_with_link(struct test_sockmap_listen * skel,struct bpf_map * inner_map,int family,int sotype) test_msg_redir_to_listening_with_link() argument 905 redir_partial(int family,int sotype,int sock_map,int parser_map) redir_partial() argument 949 test_skb_redir_partial(struct test_sockmap_listen * skel,struct bpf_map * inner_map,int family,int sotype) test_skb_redir_partial() argument 973 test_reuseport_select_listening(int family,int sotype,int sock_map,int verd_map,int reuseport_prog) test_reuseport_select_listening() argument 1042 test_reuseport_select_connected(int family,int sotype,int sock_map,int verd_map,int reuseport_prog) test_reuseport_select_connected() argument 1148 test_reuseport_mixed_groups(int family,int sotype,int sock_map,int verd_map,int reuseport_prog) test_reuseport_mixed_groups() argument 1234 family_str(sa_family_t family) family_str() argument 1281 test_ops(struct test_sockmap_listen * skel,struct bpf_map * map,int family,int sotype) test_ops() argument 1338 test_redir(struct test_sockmap_listen * skel,struct bpf_map * map,int family,int sotype) test_redir() argument 1372 test_reuseport(struct test_sockmap_listen * skel,struct bpf_map * map,int family,int sotype) test_reuseport() argument 1412 run_tests(struct test_sockmap_listen * skel,struct bpf_map * map,int family) run_tests() argument [all...] |
H A D | select_reuseport.c | 47 sa_family_t family; member 138 static void sa46_init_loopback(union sa46 *sa, sa_family_t family) in sa46_init_loopback() argument 148 static void sa46_init_inany(union sa46 *sa, sa_family_t family) in sa46_init_inany() argument 227 static void check_data(int type, sa_family_t family, cons argument 364 send_data(int type,sa_family_t family,void * data,size_t len,enum result expected) send_data() argument 386 do_test(int type,sa_family_t family,struct cmd * cmd,enum result expected) do_test() argument 444 test_err_inner_map(int type,sa_family_t family) test_err_inner_map() argument 455 test_err_skb_data(int type,sa_family_t family) test_err_skb_data() argument 461 test_err_sk_select_port(int type,sa_family_t family) test_err_sk_select_port() argument 472 test_pass(int type,sa_family_t family) test_pass() argument 485 test_syncookie(int type,sa_family_t family) test_syncookie() argument 520 test_pass_on_err(int type,sa_family_t family) test_pass_on_err() argument 531 test_detach_bpf(int type,sa_family_t family) test_detach_bpf() argument 584 prepare_sk_fds(int type,sa_family_t family,bool inany) prepare_sk_fds() argument 658 setup_per_test(int type,sa_family_t family,bool inany,bool no_inner_map) setup_per_test() argument 742 family_str(sa_family_t family) family_str() argument 768 test_config(int sotype,sa_family_t family,bool inany) test_config() argument 826 sa_family_t family; test_all() member [all...] |
H A D | sockmap_ktls.c | 50 static int create_ktls_pairs(int family, int sotype, int *c, int *p) in create_ktls_pairs() argument 64 static void test_sockmap_ktls_update_fails_when_sock_has_ulp(int family, int map) in test_sockmap_ktls_update_fails_when_sock_has_ulp() argument 120 static const char *fmt_test_name(const char *subtest_name, int family, in fmt_test_name() argument 134 static void test_sockmap_ktls_offload(int family, int sotype) in test_sockmap_ktls_offload() argument 163 test_sockmap_ktls_tx_cork(int family,int sotype,bool push) test_sockmap_ktls_tx_cork() argument 243 test_sockmap_ktls_tx_no_buf(int family,int sotype,bool push) test_sockmap_ktls_tx_no_buf() argument 317 test_sockmap_ktls_tx_pop(int family,int sotype) test_sockmap_ktls_tx_pop() argument 406 run_tests(int family,enum bpf_map_type map_type) run_tests() argument 420 run_ktls_test(int family,int sotype) run_ktls_test() argument [all...] |
H A D | sock_iter_batch.c | 214 static int *connect_to_server(int family, int sock_type, const char *addr, in connect_to_server() argument 258 static void remove_seen(int family, int sock_type, const char *addr, __u16 port, in remove_seen() argument 289 static void remove_seen_established(int family, int sock_type, const char *addr, in remove_seen_established() argument 326 static void remove_unseen(int family, int sock_type, const char *addr, in remove_unseen() argument 359 static void remove_unseen_established(int family, int sock_type, in remove_unseen_established() argument 404 static void remove_all(int family, int sock_type, const char *addr, in remove_all() argument 433 static void remove_all_established(int family, int sock_type, const char *addr, in remove_all_established() argument 481 static void add_some(int family, int sock_type, const char *addr, __u16 port, in add_some() argument 511 add_some_established(int family,int sock_type,const char * addr,__u16 port,int * listen_socks,int listen_socks_len,int * established_socks,int established_socks_len,struct sock_count * counts,int counts_len,struct bpf_link * link,int iter_fd) add_some_established() argument 554 force_realloc(int family,int sock_type,const char * addr,__u16 port,int * socks,int socks_len,int * established_socks,int established_socks_len,struct sock_count * counts,int counts_len,struct bpf_link * link,int iter_fd) force_realloc() argument 583 force_realloc_established(int family,int sock_type,const char * addr,__u16 port,int * listen_socks,int listen_socks_len,int * established_socks,int established_socks_len,struct sock_count * counts,int counts_len,struct bpf_link * link,int iter_fd) force_realloc_established() argument 612 int family; global() member [all...] |
H A D | sockmap_strp.c | 90 static void test_sockmap_strp_dispatch_pkt(int family, int sotype) in test_sockmap_strp_dispatch_pkt() argument 168 static void test_sockmap_strp_multiple_pkt(int family, int sotype) in test_sockmap_strp_multiple_pkt() argument 229 static void test_sockmap_strp_partial_read(int family, int sotype) in test_sockmap_strp_partial_read() argument 289 static void test_sockmap_strp_pass(int family, int sotype, bool fionread) in test_sockmap_strp_pass() argument 368 static void test_sockmap_strp_verdict(int family, int sotype) in test_sockmap_strp_verdict() argument [all...] |
H A D | socket_helpers.h | 130 #define xsocket(family, sotype, flags) \ argument 193 static inline void init_addr_loopback(int family, struct sockaddr_storage *ss, in init_addr_loopback() argument 229 static inline int socket_loopback_reuseport(int family, int sotype, int progfd) in socket_loopback_reuseport() argument 261 static inline int socket_loopback(int family, in argument 327 create_pair(int family,int sotype,int * p0,int * p1) create_pair() argument 395 create_socket_pairs(int family,int sotype,int * c0,int * c1,int * p0,int * p1) create_socket_pairs() argument [all...] |
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_policer.c | 74 struct mlxsw_sp_policer_family *family = priv; in mlxsw_sp_policer_single_rate_occ_get() local 80 mlxsw_sp_policer_single_rate_family_init(struct mlxsw_sp_policer_family *family) in mlxsw_sp_policer_single_rate_family_init() argument 106 mlxsw_sp_policer_single_rate_family_fini(struct mlxsw_sp_policer_family * family) mlxsw_sp_policer_single_rate_family_fini() argument 116 mlxsw_sp_policer_single_rate_index_alloc(struct mlxsw_sp_policer_family * family,struct mlxsw_sp_policer * policer) mlxsw_sp_policer_single_rate_index_alloc() argument 136 mlxsw_sp_policer_single_rate_index_free(struct mlxsw_sp_policer_family * family,u16 policer_index) mlxsw_sp_policer_single_rate_index_free() argument 153 mlxsw_sp_policer_single_rate_init(struct mlxsw_sp_policer_family * family,const struct mlxsw_sp_policer * policer) mlxsw_sp_policer_single_rate_init() argument 169 mlxsw_sp_policer_single_rate_params_check(const struct mlxsw_sp_policer_family * family,const struct mlxsw_sp_policer_params * params,struct netlink_ext_ack * extack) mlxsw_sp_policer_single_rate_params_check() argument 236 struct mlxsw_sp_policer_family *family; mlxsw_sp_policer_add() local 277 struct mlxsw_sp_policer_family *family; mlxsw_sp_policer_del() local 289 struct mlxsw_sp_policer_family *family; mlxsw_sp_policer_drops_counter_get() local 311 struct mlxsw_sp_policer_family *family; mlxsw_sp_policer_family_register() local 346 mlxsw_sp_policer_family_unregister(struct mlxsw_sp * mlxsw_sp,struct mlxsw_sp_policer_family * family) mlxsw_sp_policer_family_unregister() argument 380 struct mlxsw_sp_policer_family *family; mlxsw_sp_policers_init() local 395 struct mlxsw_sp_policer_family *family; mlxsw_sp_policers_fini() local [all...] |
/linux/security/selinux/include/ |
H A D | netlabel.h | 59 static inline void selinux_netlbl_err(struct sk_buff *skb, u16 family, in selinux_netlbl_err() argument 77 static inline int selinux_netlbl_skbuff_getsid(struct sk_buff *skb, u16 family, in selinux_netlbl_skbuff_getsid() argument 84 static inline int selinux_netlbl_skbuff_setsid(struct sk_buff *skb, u16 family, in selinux_netlbl_skbuff_setsid() argument 97 selinux_netlbl_inet_conn_request(struct request_sock * req,u16 family) selinux_netlbl_inet_conn_request() argument 101 selinux_netlbl_inet_csk_clone(struct sock * sk,u16 family) selinux_netlbl_inet_csk_clone() argument 110 selinux_netlbl_socket_post_create(struct sock * sk,u16 family) selinux_netlbl_socket_post_create() argument 115 selinux_netlbl_sock_rcv_skb(struct sk_security_struct * sksec,struct sk_buff * skb,u16 family,struct common_audit_data * ad) selinux_netlbl_sock_rcv_skb() argument [all...] |
/linux/tools/net/ynl/pyynl/lib/ |
H A D | nlspec.py | 31 def __init__(self, family, yaml): argument 113 def __init__(self, family, yaml): argument 170 def __init__(self, family, attr_se argument 201 __init__(self, family, yaml) global() argument 259 __init__(self, family, yaml) global() argument 277 __init__(self, family, yaml) global() argument 284 new_member(self, family, elem) global() argument 304 __init__(self, family, yaml) global() argument 312 new_format(self, family, format) global() argument 326 __init__(self, family, yaml) global() argument 353 __init__(self, family, yaml, req_value, rsp_value) global() argument 401 __init__(self, family, yaml) global() argument [all...] |
/linux/security/selinux/ |
H A D | netlabel.c | 44 u16 family, in selinux_netlbl_sidlookup_cached() argument 144 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) in selinux_netlbl_err() argument 195 selinux_netlbl_skbuff_getsid(struct sk_buff * skb,u16 family,u32 * type,u32 * sid) selinux_netlbl_skbuff_getsid() argument 233 selinux_netlbl_skbuff_setsid(struct sk_buff * skb,u16 family,u32 sid) selinux_netlbl_skbuff_setsid() argument 330 selinux_netlbl_inet_conn_request(struct request_sock * req,u16 family) selinux_netlbl_inet_conn_request() argument 359 selinux_netlbl_inet_csk_clone(struct sock * sk,u16 family) selinux_netlbl_inet_csk_clone() argument 395 selinux_netlbl_socket_post_create(struct sock * sk,u16 family) selinux_netlbl_socket_post_create() argument 439 selinux_netlbl_sock_rcv_skb(struct sk_security_struct * sksec,struct sk_buff * skb,u16 family,struct common_audit_data * ad) selinux_netlbl_sock_rcv_skb() argument [all...] |
H A D | netnode.c | 103 static struct sel_netnode *sel_netnode_find(const void *addr, u16 family) in sel_netnode_find() argument 190 sel_netnode_sid_slow(const void * addr,u16 family,u32 * sid) sel_netnode_sid_slow() argument 253 sel_netnode_sid(const void * addr,u16 family,u32 * sid) sel_netnode_sid() argument [all...] |
/linux/net/xfrm/ |
H A D | xfrm_state.c | 65 unsigned short family) in xfrm_dst_hash() 75 unsigned short family) in xfrm_src_hash() 84 __be32 spi, u8 proto, unsigned short family) in xfrm_spi_hash() 236 int xfrm_register_type(const struct xfrm_type *type, unsigned short family) in xfrm_register_type() 282 void xfrm_unregister_type(const struct xfrm_type *type, unsigned short family) in xfrm_unregister_type() 325 static const struct xfrm_type *xfrm_get_type(u8 proto, unsigned short family) in xfrm_get_type() 382 unsigned short family) in xfrm_register_type_offload() 407 unsigned short family) in xfrm_unregister_type_offload() 510 static const struct xfrm_mode *xfrm_get_mode(unsigned int encap, int family) in xfrm_get_mode() 1074 unsigned short family) in xfrm_init_tempstate() [all …]
|
H A D | xfrm_policy.c | 123 u16 family; member 243 unsigned short family) in xfrm_selector_match() argument 254 static const struct xfrm_policy_afinfo *xfrm_policy_get_afinfo(unsigned short family) in xfrm_policy_get_afinfo() argument 273 struct dst_entry *__xfrm_dst_lookup(int family, in __xfrm_dst_lookup() argument 295 xfrm_dst_lookup(struct xfrm_state * x,dscp_t dscp,int oif,xfrm_address_t * prev_saddr,xfrm_address_t * prev_daddr,int family,u32 mark) xfrm_dst_lookup() argument 516 __get_hash_thresh(struct net * net,unsigned short family,int dir,u8 * dbits,u8 * sbits) __get_hash_thresh() argument 538 policy_hash_bysel(struct net * net,const struct xfrm_selector * sel,unsigned short family,int dir) policy_hash_bysel() argument 558 policy_hash_direct(struct net * net,const xfrm_address_t * daddr,const xfrm_address_t * saddr,unsigned short family,int dir) policy_hash_direct() argument 792 xfrm_pol_inexact_addr_use_any_list(const xfrm_address_t * addr,int family,u8 prefixlen) xfrm_pol_inexact_addr_use_any_list() argument 848 xfrm_policy_addr_delta(const xfrm_address_t * a,const xfrm_address_t * b,u8 prefixlen,u16 family) xfrm_policy_addr_delta() argument 894 xfrm_policy_inexact_list_reinsert(struct net * net,struct xfrm_pol_inexact_node * n,u16 family) xfrm_policy_inexact_list_reinsert() argument 958 xfrm_policy_inexact_node_reinsert(struct net * net,struct xfrm_pol_inexact_node * n,struct rb_root * new,u16 family) xfrm_policy_inexact_node_reinsert() argument 1016 xfrm_policy_inexact_node_merge(struct net * net,struct xfrm_pol_inexact_node * v,struct xfrm_pol_inexact_node * n,u16 family) xfrm_policy_inexact_node_merge() argument 1045 xfrm_policy_inexact_insert_node(struct net * net,struct rb_root * root,xfrm_address_t * addr,u16 family,u8 prefixlen,u8 dir) xfrm_policy_inexact_insert_node() argument 1972 xfrm_policy_match(const struct xfrm_policy * pol,const struct flowi * fl,u8 type,u16 family,u32 if_id) xfrm_policy_match() argument 1993 xfrm_policy_lookup_inexact_addr(const struct rb_root * r,seqcount_spinlock_t * count,const xfrm_address_t * addr,u16 family) xfrm_policy_lookup_inexact_addr() argument 2034 u16 family; xfrm_policy_find_inexact_candidates() local 2062 xfrm_policy_inexact_lookup_rcu(struct net * net,u8 type,u16 family,u8 dir,u32 if_id) xfrm_policy_inexact_lookup_rcu() argument 2079 xfrm_policy_inexact_lookup(struct net * net,u8 type,u16 family,u8 dir,u32 if_id) xfrm_policy_inexact_lookup() argument 2097 __xfrm_policy_eval_candidates(struct hlist_head * chain,struct xfrm_policy * prefer,const struct flowi * fl,u8 type,u16 family,u32 if_id) __xfrm_policy_eval_candidates() argument 2136 xfrm_policy_eval_candidates(struct xfrm_pol_inexact_candidates * cand,struct xfrm_policy * prefer,const struct flowi * fl,u8 type,u16 family,u32 if_id) xfrm_policy_eval_candidates() argument 2158 xfrm_policy_lookup_bytype(struct net * net,u8 type,const struct flowi * fl,u16 family,u8 dir,u32 if_id) xfrm_policy_lookup_bytype() argument 2226 xfrm_policy_lookup(struct net * net,const struct flowi * fl,u16 family,u8 dir,u32 if_id) xfrm_policy_lookup() argument 2242 xfrm_sk_policy_lookup(const struct sock * sk,int dir,const struct flowi * fl,u16 family,u32 if_id) xfrm_sk_policy_lookup() argument 2470 xfrm_get_saddr(unsigned short family,xfrm_address_t * saddr,const struct xfrm_dst_lookup_params * params) xfrm_get_saddr() argument 2487 xfrm_tmpl_resolve_one(struct xfrm_policy * policy,const struct flowi * fl,struct xfrm_state ** xfrm,unsigned short family) xfrm_tmpl_resolve_one() argument 2558 xfrm_tmpl_resolve(struct xfrm_policy ** pols,int npols,const struct flowi * fl,struct xfrm_state ** xfrm,unsigned short family) xfrm_tmpl_resolve() argument 2594 xfrm_get_dscp(const struct flowi * fl,int family) xfrm_get_dscp() argument 2602 xfrm_alloc_dst(struct net * net,int family) xfrm_alloc_dst() argument 2685 int family = policy->selector.family; xfrm_bundle_create() local 2810 xfrm_expand_policies(const struct flowi * fl,u16 family,struct xfrm_policy ** pols,int * num_pols,int * num_xfrms) xfrm_expand_policies() argument 2860 xfrm_resolve_and_create_bundle(struct xfrm_policy ** pols,int num_pols,const struct flowi * fl,u16 family,struct dst_entry * dst_orig) xfrm_resolve_and_create_bundle() argument 3029 xfrm_create_dummy_bundle(struct net * net,struct xfrm_flo * xflo,const struct flowi * fl,int num_xfrms,u16 family) xfrm_create_dummy_bundle() argument 3086 xfrm_bundle_lookup(struct net * net,const struct flowi * fl,u16 family,u8 dir,struct xfrm_flo * xflo,u32 if_id) xfrm_bundle_lookup() argument 3147 make_blackhole(struct net * net,u16 family,struct dst_entry * dst_orig) make_blackhole() argument 3181 u16 family = dst_orig->ops->family; xfrm_lookup_with_ifid() local 3383 xfrm_state_ok(const struct xfrm_tmpl * tmpl,const struct xfrm_state * x,unsigned short family,u32 if_id) xfrm_state_ok() argument 3407 xfrm_policy_ok(const struct xfrm_tmpl * tmpl,const struct sec_path * sp,int start,unsigned short family,u32 if_id) xfrm_policy_ok() argument 3503 __xfrm_decode_session(struct net * net,struct sk_buff * skb,struct flowi * fl,unsigned int family,int reverse) __xfrm_decode_session() argument 3552 icmp_err_packet(const struct flowi * fl,unsigned short family) icmp_err_packet() argument 3576 xfrm_icmp_flow_decode(struct sk_buff * skb,unsigned short family,const struct flowi * fl,struct flowi * fl1) xfrm_icmp_flow_decode() argument 3606 xfrm_selector_inner_icmp_match(struct sk_buff * skb,unsigned short family,const struct xfrm_selector * sel,const struct flowi * fl) xfrm_selector_inner_icmp_match() argument 3626 xfrm_in_fwd_icmp(struct sk_buff * skb,const struct flowi * fl,unsigned short family,u32 if_id) xfrm_in_fwd_icmp() argument 3648 xfrm_out_fwd_icmp(struct sk_buff * skb,struct flowi * fl,unsigned short family,struct dst_entry * dst) xfrm_out_fwd_icmp() argument 3677 __xfrm_policy_check(struct sock * sk,int dir,struct sk_buff * skb,unsigned short family) __xfrm_policy_check() argument 3871 __xfrm_route_forward(struct sk_buff * skb,unsigned short family) __xfrm_route_forward() argument 4104 xfrm_policy_register_afinfo(const struct xfrm_policy_afinfo * afinfo,int family) xfrm_policy_register_afinfo() argument [all...] |
H A D | xfrm_hash.h | 86 u32 reqid, unsigned short family, in __xfrm_dst_hash() argument 103 unsigned short family, in __xfrm_src_hash() argument 120 unsigned short family, unsigned int hmask) in __xfrm_spi_hash() argument 147 unsigned short family, unsigned int hmask, in __sel_hash() argument 177 __addr_hash(const xfrm_address_t * daddr,const xfrm_address_t * saddr,unsigned short family,unsigned int hmask,u8 dbits,u8 sbits) __addr_hash() argument [all...] |
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | tile.h | 27 static inline u32 nouveau_get_gob_height(u16 family) in nouveau_get_gob_height() argument 36 static inline u32 nouveau_get_height_in_blocks(u32 height, u32 gobs_in_block, u16 family) in nouveau_get_height_in_blocks() argument 42 static inline u32 nouveau_get_gob_size(u16 family) in nouveau_get_gob_size() argument
|
/linux/net/netfilter/ |
H A D | xt_policy.c | 23 const union nf_inet_addr *a2, unsigned short family) in xt_addr_cmp() argument 36 unsigned short family) in match_xfrm_state() argument 53 unsigned short family) in match_policy_in() argument 83 unsigned short family) in match_policy_out() argument [all...] |
H A D | nf_conntrack_ovs.c | 78 int nf_ct_add_helper(struct nf_conn *ct, const char *name, u8 family, in nf_ct_add_helper() argument 115 int nf_ct_skb_network_trim(struct sk_buff *skb, int family) in nf_ct_skb_network_trim() argument 145 u16 zone, u8 family, u8 *proto, u16 *mru) in nf_ct_handle_fragments() argument
|
H A D | xt_conntrack.c | 42 u_int8_t family) in conntrack_mt_origsrc() argument 51 u_int8_t family) in conntrack_mt_origdst() argument 60 u_int8_t family) in conntrack_mt_replsrc() argument 69 u_int8_t family) in conntrack_mt_repldst() argument [all...] |
/linux/net/ipv4/ |
H A D | tcp_ao.c | 51 bool tcp_ao_ignore_icmp(const struct sock *sk, int family, int type, int code) in tcp_ao_ignore_icmp() argument 143 int family, int sndid, int rcvid) in __tcp_ao_key_cmp() argument 179 tcp_ao_key_cmp(const struct tcp_ao_key * key,int l3index,const union tcp_ao_addr * addr,u8 prefixlen,int family,int sndid,int rcvid) tcp_ao_key_cmp() argument 195 __tcp_ao_do_lookup(const struct sock * sk,int l3index,const union tcp_ao_addr * addr,int family,u8 prefix,int sndid,int rcvid) __tcp_ao_do_lookup() argument 221 tcp_ao_do_lookup(const struct sock * sk,int l3index,const union tcp_ao_addr * addr,int family,int sndid,int rcvid) tcp_ao_do_lookup() argument 427 tcp_ao_calc_key_skb(struct tcp_ao_key * mkt,u8 * key,const struct sk_buff * skb,__be32 sisn,__be32 disn,int family) tcp_ao_calc_key_skb() argument 457 tcp_ao_hash_pseudoheader(unsigned short int family,const struct sock * sk,const struct sk_buff * skb,struct tcp_sigpool * hp,int nbytes) tcp_ao_hash_pseudoheader() argument 560 tcp_ao_hash_hdr(unsigned short int family,char * ao_hash,struct tcp_ao_key * key,const u8 * tkey,const union tcp_ao_addr * daddr,const union tcp_ao_addr * saddr,const struct tcphdr * th,u32 sne) tcp_ao_hash_hdr() argument 621 tcp_ao_hash_skb(unsigned short int family,char * ao_hash,struct tcp_ao_key * key,const struct sock * sk,const struct sk_buff * skb,const u8 * tkey,int hash_offset,u32 sne) tcp_ao_hash_skb() argument 744 unsigned int family = READ_ONCE(sk->sk_family); tcp_ao_prepare_reset() local 846 tcp_ao_inbound_lookup(unsigned short int family,const struct sock * sk,const struct sk_buff * skb,int sndid,int rcvid,int l3index) tcp_ao_inbound_lookup() argument 866 tcp_ao_syncookie(struct sock * sk,const struct sk_buff * skb,struct request_sock * req,unsigned short int family) tcp_ao_syncookie() argument 902 tcp_ao_verify_hash(const struct sock * sk,const struct sk_buff * skb,unsigned short int family,struct tcp_ao_info * info,const struct tcp_ao_hdr * aoh,struct tcp_ao_key * key,u8 * traffic_key,u8 * phash,u32 sne,int l3index) tcp_ao_verify_hash() argument 944 tcp_inbound_ao_hash(struct sock * sk,const struct sk_buff * skb,unsigned short int family,const struct request_sock * req,int l3index,const struct tcp_ao_hdr * aoh) tcp_inbound_ao_hash() argument 1101 int family, l3index; tcp_ao_connect_init() local 1190 tcp_ao_copy_all_matching(const struct sock * sk,struct sock * newsk,struct request_sock * req,struct sk_buff * skb,int family) tcp_ao_copy_all_matching() argument 1452 tcp_ao_verify_ipv6(struct sock * sk,struct tcp_ao_add * cmd,union tcp_ao_addr ** paddr,unsigned short int * family) tcp_ao_verify_ipv6() argument 1516 tcp_ao_verify_ipv6(struct sock * sk,struct tcp_ao_add * cmd,union tcp_ao_addr ** paddr,unsigned short int * family) tcp_ao_verify_ipv6() argument 1596 tcp_ao_add_cmd(struct sock * sk,unsigned short int family,sockptr_t optval,int optlen) tcp_ao_add_cmd() argument 1812 tcp_ao_del_cmd(struct sock * sk,unsigned short int family,sockptr_t optval,int optlen) tcp_ao_del_cmd() argument 1958 tcp_ao_info_cmd(struct sock * sk,unsigned short int family,sockptr_t optval,int optlen) tcp_ao_info_cmd() argument 2047 tcp_parse_ao(struct sock * sk,int cmd,unsigned short int family,sockptr_t optval,int optlen) tcp_parse_ao() argument [all...] |
/linux/net/netlabel/ |
H A D | netlabel_kapi.c | 57 u16 family, in netlbl_cfg_map_del() argument 96 u16 family, in netlbl_cfg_unlbl_map_add() argument 212 netlbl_cfg_unlbl_static_add(struct net * net,const char * dev_name,const void * addr,const void * mask,u16 family,u32 secid,struct netlbl_audit * audit_info) netlbl_cfg_unlbl_static_add() argument 255 netlbl_cfg_unlbl_static_del(struct net * net,const char * dev_name,const void * addr,const void * mask,u16 family,struct netlbl_audit * audit_info) netlbl_cfg_unlbl_static_del() argument 980 netlbl_sock_setattr(struct sock * sk,u16 family,const struct netlbl_lsm_secattr * secattr,bool sk_locked) netlbl_sock_setattr() argument 1309 netlbl_skbuff_setattr(struct sk_buff * skb,u16 family,const struct netlbl_lsm_secattr * secattr) netlbl_skbuff_setattr() argument 1390 netlbl_skbuff_getattr(const struct sk_buff * skb,u16 family,struct netlbl_lsm_secattr * secattr) netlbl_skbuff_getattr() argument 1426 netlbl_skbuff_err(struct sk_buff * skb,u16 family,int error,int gateway) netlbl_skbuff_err() argument 1465 netlbl_cache_add(const struct sk_buff * skb,u16 family,const struct netlbl_lsm_secattr * secattr) netlbl_cache_add() argument [all...] |
/linux/tools/testing/selftests/bpf/progs/ |
H A D | lsm_cgroup.c | 51 static __always_inline int real_create(struct socket *sock, int family, in real_create() argument 85 int BPF_PROG(socket_post_create, struct socket *sock, int family, in BPF_PROG() argument 94 int BPF_PROG(socket_post_create2, struct socket *sock, int family, in BPF_PROG() argument 148 int BPF_PROG(socket_alloc, struct sock *sk, int family, gfp_t priority) in BPF_PROG() argument
|
/linux/tools/net/ynl/pyynl/ |
H A D | ynl_gen_c.py | 49 def __init__(self, family, attr_set, attr, value): argument 362 __init__(self, family, attr_set, attr, value) global() argument 708 __init__(self, family, attr_set, attr, value, base_type) global() argument 890 __init__(self, family, attr_set, attr, value) global() argument 942 __init__(self, family, space_name, type_list=None, fixed_header=None, inherited=None, submsg=None) global() argument 1038 __init__(self, family, yaml) global() argument 1075 __init__(self, family, yaml) global() argument 1145 __init__(self, family, yaml, req_value, rsp_value) global() argument 1180 __init__(self, family, yaml) global() argument 1552 __init__(self, cw, family, ku_space, op, op_mode, attr_set=None) global() argument 1996 put_op_name_fwd(family, cw) global() argument 2000 put_op_name(family, cw) global() argument 2021 put_enum_to_str_fwd(family, cw, enum) global() argument 2026 put_enum_to_str(family, cw, enum) global() argument 2751 kernel_can_gen_family_struct(family) global() argument 2755 policy_should_be_static(family) global() argument 2759 print_kernel_policy_ranges(family, cw) global() argument 2788 print_kernel_policy_sparse_enum_validates(family, cw) global() argument 2828 print_kernel_op_table_fwd(family, cw, terminate) global() argument 2895 print_kernel_op_table_hdr(family, cw) global() argument 2899 print_kernel_op_table(family, cw) global() argument 2979 print_kernel_mcgrp_hdr(family, cw) global() argument 2991 print_kernel_mcgrp_src(family, cw) global() argument 3004 print_kernel_family_struct_hdr(family, cw) global() argument 3016 print_kernel_family_struct_src(family, cw) global() argument 3053 uapi_enum_start(family, cw, obj, ckey='', enum_name='enum-name') global() argument 3063 render_uapi_unified(family, cw, max_by_define, separate_ntf) global() argument 3090 render_uapi_directional(family, cw, max_by_define) global() argument 3144 render_uapi(family, cw) global() argument 3299 render_user_family(family, cw, prototype) global() argument 3342 family_contains_bitfield32(family) global() argument [all...] |
/linux/net/ceph/ |
H A D | decode.c | 152 static int get_sockaddr_encoding_len(sa_family_t family) in get_sockaddr_encoding_len() argument 172 sa_family_t family = get_unaligned(&addr->in_addr.ss_family); in ceph_entity_addr_encoding_len() local 180 sa_family_t family = get_unaligned(&addr->in_addr.ss_family); in ceph_encode_entity_addr() local
|
/linux/security/tomoyo/ |
H A D | network.c | 364 const char *family, const u8 protocol, in tomoyo_audit_net_log() argument 628 u8 family; in tomoyo_sock_family() local 653 const u8 family = tomoyo_sock_family(sock->sk); tomoyo_socket_listen_permission() local 690 const u8 family = tomoyo_sock_family(sock->sk); tomoyo_socket_connect_permission() local 727 const u8 family = tomoyo_sock_family(sock->sk); tomoyo_socket_bind_permission() local 762 const u8 family = tomoyo_sock_family(sock->sk); tomoyo_socket_sendmsg_permission() local [all...] |