Home
last modified time | relevance | path

Searched defs:cfg (Results 1 – 25 of 48) sorted by relevance

12

/net/bridge/
Dbr_mdb.c711 static int br_mdb_replace_group_sg(const struct br_mdb_config *cfg, in br_mdb_replace_group_sg()
732 static int br_mdb_add_group_sg(const struct br_mdb_config *cfg, in br_mdb_add_group_sg()
785 static int br_mdb_add_group_src_fwd(const struct br_mdb_config *cfg, in br_mdb_add_group_src_fwd()
820 static int br_mdb_add_group_src(const struct br_mdb_config *cfg, in br_mdb_add_group_src()
873 static int br_mdb_add_group_srcs(const struct br_mdb_config *cfg, in br_mdb_add_group_srcs()
895 static int br_mdb_replace_group_srcs(const struct br_mdb_config *cfg, in br_mdb_replace_group_srcs()
924 static int br_mdb_replace_group_star_g(const struct br_mdb_config *cfg, in br_mdb_replace_group_star_g()
956 static int br_mdb_add_group_star_g(const struct br_mdb_config *cfg, in br_mdb_add_group_star_g()
1012 static int br_mdb_add_group(const struct br_mdb_config *cfg, in br_mdb_add_group()
1053 static int __br_mdb_add(const struct br_mdb_config *cfg, in __br_mdb_add()
[all …]
/net/sched/
Dact_bpf.c187 static int tcf_bpf_init_from_ops(struct nlattr **tb, struct tcf_bpf_cfg *cfg) in tcf_bpf_init_from_ops()
224 static int tcf_bpf_init_from_efd(struct nlattr **tb, struct tcf_bpf_cfg *cfg) in tcf_bpf_init_from_efd()
251 static void tcf_bpf_cfg_cleanup(const struct tcf_bpf_cfg *cfg) in tcf_bpf_cfg_cleanup()
267 struct tcf_bpf_cfg *cfg) in tcf_bpf_prog_fill_cfg()
288 struct tcf_bpf_cfg cfg, old; in tcf_bpf_init() local
/net/core/
Ddev_ioctl.c187 static int net_hwtstamp_validate(const struct kernel_hwtstamp_config *cfg) in net_hwtstamp_validate()
272 struct kernel_hwtstamp_config *cfg) in dev_get_hwtstamp_phylib()
284 struct hwtstamp_config cfg; in dev_get_hwtstamp() local
326 struct kernel_hwtstamp_config *cfg, in dev_set_hwtstamp_phylib()
372 struct hwtstamp_config cfg; in dev_set_hwtstamp() local
Dlwtunnel.c113 const void *cfg, struct lwtunnel_state **lws, in lwtunnel_build_state()
/net/ipv4/
Dfib_semantics.c378 const struct fib_config *cfg) in fib_find_info_nh()
586 void *cfg, gfp_t gfp_flags, in fib_nh_common_init()
623 struct fib_config *cfg, int nh_weight, in fib_nh_init()
692 int remaining, struct fib_config *cfg, in fib_get_nhs()
843 int remaining, struct fib_config *cfg, in fib_get_nhs()
858 const struct fib_config *cfg, in fib_encap_match()
877 int fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi, in fib_nh_match()
1010 bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi) in fib_metrics_match()
1054 struct fib6_config cfg = { in fib_check_nh_v6_gw() local
1361 static bool fib_valid_prefsrc(struct fib_config *cfg, __be32 fib_prefsrc) in fib_valid_prefsrc()
[all …]
Dfib_frontend.c472 struct fib_config *cfg) in rtentry_to_fib_config()
621 struct fib_config cfg; in ip_rt_ioctl() local
683 int fib_gw_from_via(struct fib_config *cfg, struct nlattr *nla, in fib_gw_from_via()
728 struct nlmsghdr *nlh, struct fib_config *cfg, in rtm_to_fib_config()
859 struct fib_config cfg; in inet_rtm_delroute() local
889 struct fib_config cfg; in inet_rtm_newroute() local
1075 struct fib_config cfg = { in fib_magic() local
1405 struct netlink_kernel_cfg cfg = { in nl_fib_lookup_init() local
Dfou_core.c491 static bool fou_cfg_cmp(struct fou *fou, struct fou_cfg *cfg) in fou_cfg_cmp()
522 struct fou_cfg *cfg) in fou_add_to_port_list()
551 static int fou_create(struct net *net, struct fou_cfg *cfg, in fou_create()
624 static int fou_destroy(struct net *net, struct fou_cfg *cfg) in fou_destroy()
646 struct fou_cfg *cfg) in parse_nl_config()
739 struct fou_cfg cfg; in fou_nl_add_doit() local
752 struct fou_cfg cfg; in fou_nl_del_doit() local
823 struct fou_cfg cfg; in fou_nl_get_doit() local
Dudp_tunnel_core.c10 int udp_sock_create4(struct net *net, struct udp_port_cfg *cfg, in udp_sock_create4()
61 struct udp_tunnel_sock_cfg *cfg) in setup_udp_tunnel_sock()
Dnexthop.c546 nexthop_res_table_alloc(struct net *net, u32 nhg_id, struct nh_config *cfg) in nexthop_res_table_alloc()
1291 int fib6_check_nexthop(struct nexthop *nh, struct fib6_config *cfg, in fib6_check_nexthop()
1957 struct nexthop *new, const struct nh_config *cfg, in replace_nexthop_grp()
2245 struct nexthop *new, const struct nh_config *cfg, in replace_nexthop()
2305 struct nh_config *cfg, struct netlink_ext_ack *extack) in insert_nexthop()
2433 struct nh_config *cfg) in nexthop_create_group()
2531 struct nh_info *nhi, struct nh_config *cfg, in nh_create_ipv4()
2570 struct nh_info *nhi, struct nh_config *cfg, in nh_create_ipv6()
2604 static struct nexthop *nexthop_create(struct net *net, struct nh_config *cfg, in nexthop_create()
2661 static struct nexthop *nexthop_add(struct net *net, struct nh_config *cfg, in nexthop_add()
[all …]
/net/netfilter/
Dxt_hashlimit.c122 struct hashlimit_cfg3 cfg; /* config */ member
142 struct hashlimit_cfg1 *cfg = (struct hashlimit_cfg1 *)from; in cfg_copy() local
154 struct hashlimit_cfg2 *cfg = (struct hashlimit_cfg2 *)from; in cfg_copy() local
275 static int htable_create(struct net *net, struct hashlimit_cfg3 *cfg, in htable_create()
727 const struct hashlimit_cfg3 *cfg, int revision) in hashlimit_mt_common()
802 struct hashlimit_cfg3 cfg = {}; in hashlimit_mt_v1() local
817 struct hashlimit_cfg3 cfg = {}; in hashlimit_mt_v2() local
840 struct hashlimit_cfg3 *cfg, in hashlimit_mt_check_common()
913 struct hashlimit_cfg3 cfg = {}; in hashlimit_mt_check_v1() local
931 struct hashlimit_cfg3 cfg = {}; in hashlimit_mt_check_v2() local
Dxt_RATEEST.c115 } cfg; in xt_rateest_tg_checkentry() local
/net/caif/
Dcaif_dev.c51 struct cfcnfg *cfg; member
320 struct cfcnfg *cfg = get_cfcnfg(dev_net(dev)); in caif_enroll_dev() local
369 struct cfcnfg *cfg; in caif_device_notify() local
525 struct cfcnfg *cfg = get_cfcnfg(net); in caif_exit_net() local
Dcfcnfg.c117 void cfcnfg_remove(struct cfcnfg *cfg) in cfcnfg_remove()
182 struct cfcnfg *cfg = get_cfcnfg(net); in caif_disconnect_client() local
308 struct cfcnfg *cfg = get_cfcnfg(net); in caif_connect_client() local
/net/ethtool/
Dmm.c159 struct ethtool_mm_cfg *cfg) in mm_state_to_cfg()
189 struct ethtool_mm_cfg cfg = {}; in ethnl_set_mm() local
Dcabletest.c230 struct phy_tdr_config *cfg) in ethnl_act_cable_test_tdr_cfg()
312 struct phy_tdr_config cfg; in ethnl_act_cable_test_tdr() local
/net/ipv6/
Droute.c3315 static int ip6_nh_lookup_table(struct net *net, struct fib6_config *cfg, in ip6_nh_lookup_table()
3345 struct fib6_config *cfg, in ip6_route_check_nh_onlink()
3368 struct fib6_config *cfg, in ip6_route_check_nh()
3422 static int ip6_validate_gw(struct net *net, struct fib6_config *cfg, in ip6_validate_gw()
3514 struct fib6_config *cfg, gfp_t gfp_flags, in fib6_nh_init()
3682 static struct fib6_info *ip6_route_info_create(struct fib6_config *cfg, in ip6_route_info_create()
3841 int ip6_route_add(struct fib6_config *cfg, gfp_t gfp_flags, in ip6_route_add()
3888 static int __ip6_del_rt_siblings(struct fib6_info *rt, struct fib6_config *cfg) in __ip6_del_rt_siblings()
3967 static int __ip6_del_cached_rt(struct rt6_info *rt, struct fib6_config *cfg) in __ip6_del_cached_rt()
3983 static int ip6_del_cached_rt(struct fib6_config *cfg, struct fib6_info *rt, in ip6_del_cached_rt()
[all …]
Dip6_udp_tunnel.c16 int udp_sock_create6(struct net *net, struct udp_port_cfg *cfg, in udp_sock_create6()
Daddrconf.c1073 ipv6_add_addr(struct inet6_dev *idev, struct ifa6_config *cfg, in ipv6_add_addr()
1357 struct ifa6_config cfg; in ipv6_create_tempaddr() local
2144 struct ifa6_config cfg = { in addrconf_dad_failure() local
2450 struct fib6_config cfg = { in addrconf_prefix_route() local
2524 struct fib6_config cfg = { in addrconf_add_mroute() local
2651 struct ifa6_config cfg = { in addrconf_prefix_rcv_add_addr() local
2968 struct ifa6_config *cfg, in inet6_addr_add()
3123 struct ifa6_config cfg = { in addrconf_add_ifaddr() local
3168 struct ifa6_config cfg = { in add_addr() local
3273 struct ifa6_config cfg = { in addrconf_add_linklocal() local
[all …]
Dseg6_local.c1011 static int __seg6_end_dt_vrf_build(struct seg6_local_lwt *slwt, const void *cfg, in __seg6_end_dt_vrf_build()
1207 static int seg6_end_dt4_build(struct seg6_local_lwt *slwt, const void *cfg, in seg6_end_dt4_build()
1236 static int seg6_end_dt6_build(struct seg6_local_lwt *slwt, const void *cfg, in seg6_end_dt6_build()
1298 static int seg6_end_dt46_build(struct seg6_local_lwt *slwt, const void *cfg, in seg6_end_dt46_build()
2398 seg6_local_lwtunnel_build_state(struct seg6_local_lwt *slwt, const void *cfg, in seg6_local_lwtunnel_build_state()
2494 unsigned int family, const void *cfg, in seg6_local_build_state()
/net/l2tp/
Dl2tp_netlink.c158 static int l2tp_nl_cmd_tunnel_create_get_addr(struct nlattr **attrs, struct l2tp_tunnel_cfg *cfg) in l2tp_nl_cmd_tunnel_create_get_addr()
191 struct l2tp_tunnel_cfg cfg = { 0, }; in l2tp_nl_cmd_tunnel_create() local
529 struct l2tp_session_cfg cfg = { 0, }; in l2tp_nl_cmd_session_create() local
Dl2tp_core.c1288 struct l2tp_tunnel_cfg *cfg, in l2tp_tunnel_sock_create()
1400 struct l2tp_tunnel_cfg *cfg, struct l2tp_tunnel **tunnelp) in l2tp_tunnel_create()
1466 struct l2tp_tunnel_cfg *cfg) in l2tp_tunnel_register()
1593 u32 peer_session_id, struct l2tp_session_cfg *cfg) in l2tp_session_create()
/net/mac80211/
Dmesh_sync.c41 static bool mesh_peer_tbtt_adjusting(const struct ieee80211_meshconf_ie *cfg) in mesh_peer_tbtt_adjusting()
/net/mpls/
Daf_mpls.c768 static int mpls_nh_build_from_cfg(struct mpls_route_config *cfg, in mpls_nh_build_from_cfg()
885 static int mpls_nh_build_multi(struct mpls_route_config *cfg, in mpls_nh_build_multi()
963 static int mpls_route_add(struct mpls_route_config *cfg, in mpls_route_add()
1050 static int mpls_route_del(struct mpls_route_config *cfg, in mpls_route_del()
1809 struct mpls_route_config *cfg, in rtm_to_route_config()
1949 struct mpls_route_config *cfg; in mpls_rtm_delroute() local
1971 struct mpls_route_config *cfg; in mpls_rtm_newroute() local
Dmpls_iptunnel.c166 unsigned int family, const void *cfg, in mpls_build_state()
/net/ipv6/ila/
Dila_lwt.c134 unsigned int family, const void *cfg, in ila_build_state()

12