Home
last modified time | relevance | path

Searched refs:rtnl_register (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/include/net/
Drtnetlink.h30 void rtnl_register(int protocol, int msgtype,
/linux-6.6.21/net/core/
Drtnetlink.c308 void rtnl_register(int protocol, int msgtype, in rtnl_register() function
6542 rtnl_register(PF_UNSPEC, RTM_GETLINK, rtnl_getlink, in rtnetlink_init()
6544 rtnl_register(PF_UNSPEC, RTM_SETLINK, rtnl_setlink, NULL, 0); in rtnetlink_init()
6545 rtnl_register(PF_UNSPEC, RTM_NEWLINK, rtnl_newlink, NULL, 0); in rtnetlink_init()
6546 rtnl_register(PF_UNSPEC, RTM_DELLINK, rtnl_dellink, NULL, 0); in rtnetlink_init()
6548 rtnl_register(PF_UNSPEC, RTM_GETADDR, NULL, rtnl_dump_all, 0); in rtnetlink_init()
6549 rtnl_register(PF_UNSPEC, RTM_GETROUTE, NULL, rtnl_dump_all, 0); in rtnetlink_init()
6550 rtnl_register(PF_UNSPEC, RTM_GETNETCONF, NULL, rtnl_dump_all, 0); in rtnetlink_init()
6552 rtnl_register(PF_UNSPEC, RTM_NEWLINKPROP, rtnl_newlinkprop, NULL, 0); in rtnetlink_init()
6553 rtnl_register(PF_UNSPEC, RTM_DELLINKPROP, rtnl_dellinkprop, NULL, 0); in rtnetlink_init()
[all …]
Dfib_rules.c1296 rtnl_register(PF_UNSPEC, RTM_NEWRULE, fib_nl_newrule, NULL, 0); in fib_rules_init()
1297 rtnl_register(PF_UNSPEC, RTM_DELRULE, fib_nl_delrule, NULL, 0); in fib_rules_init()
1298 rtnl_register(PF_UNSPEC, RTM_GETRULE, NULL, fib_nl_dumprule, 0); in fib_rules_init()
Dnet_namespace.c1137 rtnl_register(PF_UNSPEC, RTM_NEWNSID, rtnl_net_newid, NULL, in net_ns_init()
1139 rtnl_register(PF_UNSPEC, RTM_GETNSID, rtnl_net_getid, rtnl_net_dumpid, in net_ns_init()
Dneighbour.c3890 rtnl_register(PF_UNSPEC, RTM_NEWNEIGH, neigh_add, NULL, 0); in neigh_init()
3891 rtnl_register(PF_UNSPEC, RTM_DELNEIGH, neigh_delete, NULL, 0); in neigh_init()
3892 rtnl_register(PF_UNSPEC, RTM_GETNEIGH, neigh_get, neigh_dump_info, 0); in neigh_init()
3894 rtnl_register(PF_UNSPEC, RTM_GETNEIGHTBL, NULL, neightbl_dump_info, in neigh_init()
3896 rtnl_register(PF_UNSPEC, RTM_SETNEIGHTBL, neightbl_set, NULL, 0); in neigh_init()
/linux-6.6.21/net/sched/
Dsch_api.c2378 rtnl_register(PF_UNSPEC, RTM_NEWQDISC, tc_modify_qdisc, NULL, 0); in pktsched_init()
2379 rtnl_register(PF_UNSPEC, RTM_DELQDISC, tc_get_qdisc, NULL, 0); in pktsched_init()
2380 rtnl_register(PF_UNSPEC, RTM_GETQDISC, tc_get_qdisc, tc_dump_qdisc, in pktsched_init()
2382 rtnl_register(PF_UNSPEC, RTM_NEWTCLASS, tc_ctl_tclass, NULL, 0); in pktsched_init()
2383 rtnl_register(PF_UNSPEC, RTM_DELTCLASS, tc_ctl_tclass, NULL, 0); in pktsched_init()
2384 rtnl_register(PF_UNSPEC, RTM_GETTCLASS, tc_ctl_tclass, tc_dump_tclass, in pktsched_init()
Dcls_api.c3982 rtnl_register(PF_UNSPEC, RTM_NEWTFILTER, tc_new_tfilter, NULL, in tc_filter_init()
3984 rtnl_register(PF_UNSPEC, RTM_DELTFILTER, tc_del_tfilter, NULL, in tc_filter_init()
3986 rtnl_register(PF_UNSPEC, RTM_GETTFILTER, tc_get_tfilter, in tc_filter_init()
3988 rtnl_register(PF_UNSPEC, RTM_NEWCHAIN, tc_ctl_chain, NULL, 0); in tc_filter_init()
3989 rtnl_register(PF_UNSPEC, RTM_DELCHAIN, tc_ctl_chain, NULL, 0); in tc_filter_init()
3990 rtnl_register(PF_UNSPEC, RTM_GETCHAIN, tc_ctl_chain, in tc_filter_init()
Dact_api.c2174 rtnl_register(PF_UNSPEC, RTM_NEWACTION, tc_ctl_action, NULL, 0); in tc_action_init()
2175 rtnl_register(PF_UNSPEC, RTM_DELACTION, tc_ctl_action, NULL, 0); in tc_action_init()
2176 rtnl_register(PF_UNSPEC, RTM_GETACTION, tc_ctl_action, tc_dump_action, in tc_action_init()
/linux-6.6.21/net/ipv4/
Dnexthop.c3776 rtnl_register(PF_UNSPEC, RTM_NEWNEXTHOP, rtm_new_nexthop, NULL, 0); in nexthop_init()
3777 rtnl_register(PF_UNSPEC, RTM_DELNEXTHOP, rtm_del_nexthop, NULL, 0); in nexthop_init()
3778 rtnl_register(PF_UNSPEC, RTM_GETNEXTHOP, rtm_get_nexthop, in nexthop_init()
3781 rtnl_register(PF_INET, RTM_NEWNEXTHOP, rtm_new_nexthop, NULL, 0); in nexthop_init()
3782 rtnl_register(PF_INET, RTM_GETNEXTHOP, NULL, rtm_dump_nexthop, 0); in nexthop_init()
3784 rtnl_register(PF_INET6, RTM_NEWNEXTHOP, rtm_new_nexthop, NULL, 0); in nexthop_init()
3785 rtnl_register(PF_INET6, RTM_GETNEXTHOP, NULL, rtm_dump_nexthop, 0); in nexthop_init()
3787 rtnl_register(PF_UNSPEC, RTM_GETNEXTHOPBUCKET, rtm_get_nexthop_bucket, in nexthop_init()
Dfib_frontend.c1660 rtnl_register(PF_INET, RTM_NEWROUTE, inet_rtm_newroute, NULL, 0); in ip_fib_init()
1661 rtnl_register(PF_INET, RTM_DELROUTE, inet_rtm_delroute, NULL, 0); in ip_fib_init()
1662 rtnl_register(PF_INET, RTM_GETROUTE, NULL, inet_dump_fib, 0); in ip_fib_init()
Ddevinet.c2824 rtnl_register(PF_INET, RTM_NEWADDR, inet_rtm_newaddr, NULL, 0); in devinet_init()
2825 rtnl_register(PF_INET, RTM_DELADDR, inet_rtm_deladdr, NULL, 0); in devinet_init()
2826 rtnl_register(PF_INET, RTM_GETADDR, NULL, inet_dump_ifaddr, 0); in devinet_init()
2827 rtnl_register(PF_INET, RTM_GETNETCONF, inet_netconf_get_devconf, in devinet_init()
Dipmr.c3161 rtnl_register(RTNL_FAMILY_IPMR, RTM_GETROUTE, in ip_mr_init()
3163 rtnl_register(RTNL_FAMILY_IPMR, RTM_NEWROUTE, in ip_mr_init()
3165 rtnl_register(RTNL_FAMILY_IPMR, RTM_DELROUTE, in ip_mr_init()
3168 rtnl_register(RTNL_FAMILY_IPMR, RTM_GETLINK, in ip_mr_init()
Droute.c3768 rtnl_register(PF_INET, RTM_GETROUTE, inet_rtm_getroute, NULL, in ip_rt_init()
/linux-6.6.21/net/dcb/
Ddcbnl.c2419 rtnl_register(PF_UNSPEC, RTM_GETDCB, dcb_doit, NULL, 0); in dcbnl_init()
2420 rtnl_register(PF_UNSPEC, RTM_SETDCB, dcb_doit, NULL, 0); in dcbnl_init()