Home
last modified time | relevance | path

Searched refs:NLM_F_CREATE (Results 1 – 25 of 31) sorted by relevance

12

/external/libnl/src/
Dnl-neigh-add.c53 int err, ok = 0, nlflags = NLM_F_REPLACE | NLM_F_CREATE; in main()
85 case ARG_UPDATE_ONLY: nlflags &= ~NLM_F_CREATE; break; in main()
Dnl-addr-add.c52 int err, nlflags = NLM_F_CREATE; in main()
Dnl-cls-add.c47 int err, nlflags = NLM_F_CREATE; in main()
/external/libnl/include/netlink/
Dnetlink-kernel.h134 #define NLM_F_CREATE 0x400 macro
/external/iproute2/tc/
Dtc_filter.c75 if (cmd == RTM_NEWTFILTER && flags & NLM_F_CREATE) in tc_filter_modify()
357 return tc_filter_modify(RTM_NEWTFILTER, NLM_F_EXCL|NLM_F_CREATE, argc-1, argv+1); in do_filter()
361 return tc_filter_modify(RTM_NEWTFILTER, NLM_F_CREATE, argc-1, argv+1); in do_filter()
Dtc_class.c314 return tc_class_modify(RTM_NEWTCLASS, NLM_F_EXCL|NLM_F_CREATE, argc-1, argv+1); in do_class()
318 return tc_class_modify(RTM_NEWTCLASS, NLM_F_CREATE, argc-1, argv+1); in do_class()
Dtc_qdisc.c339 return tc_qdisc_modify(RTM_NEWQDISC, NLM_F_EXCL|NLM_F_CREATE, argc-1, argv+1); in do_qdisc()
343 return tc_qdisc_modify(RTM_NEWQDISC, NLM_F_CREATE|NLM_F_REPLACE, argc-1, argv+1); in do_qdisc()
Dm_action.c602 ret = tc_action_modify(RTM_NEWACTION, NLM_F_EXCL|NLM_F_CREATE, &argc, &argv); in do_action()
605 ret = tc_action_modify(RTM_NEWACTION, NLM_F_CREATE|NLM_F_REPLACE, &argc, &argv); in do_action()
Dq_gred.c108 n->nlmsg_flags|=NLM_F_CREATE; in init_gred()
/external/iproute2/ip/
Diplink.c501 if (flags & NLM_F_CREATE) { in iplink_modify()
517 if (!(flags & NLM_F_CREATE)) { in iplink_modify()
580 } else if (flags & NLM_F_CREATE) { in iplink_modify()
949 NLM_F_CREATE|NLM_F_EXCL, in do_iplink()
957 NLM_F_CREATE|NLM_F_REPLACE, in do_iplink()
Dipneigh.c447 return ipneigh_modify(RTM_NEWNEIGH, NLM_F_CREATE|NLM_F_EXCL, argc-1, argv+1); in do_ipneigh()
452 return ipneigh_modify(RTM_NEWNEIGH, NLM_F_CREATE|NLM_F_REPLACE, argc-1, argv+1); in do_ipneigh()
Dipaddrlabel.c150 req.n.nlmsg_flags |= NLM_F_CREATE|NLM_F_EXCL; in ipaddrlabel_modify()
Diproute.c1521 n->nlmsg_flags |= NLM_F_REQUEST | NLM_F_CREATE | NLM_F_ACK; in restore_handler()
1550 return iproute_modify(RTM_NEWROUTE, NLM_F_CREATE|NLM_F_EXCL, in do_iproute()
1556 return iproute_modify(RTM_NEWROUTE, NLM_F_CREATE|NLM_F_REPLACE, in do_iproute()
1559 return iproute_modify(RTM_NEWROUTE, NLM_F_CREATE, in do_iproute()
1562 return iproute_modify(RTM_NEWROUTE, NLM_F_CREATE|NLM_F_APPEND, in do_iproute()
Dlink_gre.c66 if (!(n->nlmsg_flags & NLM_F_CREATE)) { in gre_parse_opt()
/external/android-clat/
Dsetif.c57 …msg = nlmsg_alloc_ifaddr(RTM_NEWADDR, NLM_F_ACK | NLM_F_REQUEST | NLM_F_CREATE | NLM_F_REPLACE, &i… in add_address()
/external/libnl/include/linux/
Dnetlink.h63 #define NLM_F_CREATE 0x400 /* Create, if it does not exist */ macro
/external/iproute2/include/linux/
Dnetlink.h66 #define NLM_F_CREATE 0x400 /* Create, if it does not exist */ macro
/external/wpa_supplicant_8/src/ap/
Dvlan_util.c108 if (rtnl_link_add(handle, rlink, NLM_F_CREATE) < 0) { in vlan_add()
/external/kernel-headers/original/uapi/linux/
Dnetlink.h67 #define NLM_F_CREATE 0x400 /* Create, if it does not exist */ macro
/external/dhcpcd/
Dif-linux.c504 nlm->hdr.nlmsg_flags |= NLM_F_CREATE | NLM_F_REPLACE; in if_address()
548 nlm->hdr.nlmsg_flags = NLM_F_CREATE /*| NLM_F_EXCL*/; in if_route()
558 nlm->hdr.nlmsg_flags |= NLM_F_CREATE /*| NLM_F_EXCL*/; in if_route()
/external/libnl/lib/route/
Droute.c124 return build_route_msg(tmpl, RTM_NEWROUTE, NLM_F_CREATE | flags, in rtnl_route_build_add_request()
Dclass.c126 return class_build(class, RTM_NEWTCLASS, NLM_F_CREATE | flags, result); in rtnl_class_build_add_request()
Dcls.c145 return cls_build(cls, RTM_NEWTFILTER, NLM_F_CREATE | flags, result); in rtnl_cls_build_add_request()
Dqdisc.c204 return qdisc_build(qdisc, RTM_NEWQDISC, NLM_F_CREATE | flags, result); in rtnl_qdisc_build_add_request()
/external/nfacct/
Dnfacct.c269 NLM_F_CREATE | NLM_F_ACK | NLM_F_REQUEST, in _nfacct_cmd_add()

12