Home
last modified time | relevance | path

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

123

/third_party/libnl/src/
Dnl-qdisc-add.c63 int err, flags = NLM_F_CREATE | NLM_F_EXCL; in main()
108 case ARG_UPDATE: flags = NLM_F_CREATE; break; in main()
109 case ARG_REPLACE: flags = NLM_F_CREATE | NLM_F_REPLACE; break; in main()
Dnl-neigh-add.c56 int err, ok = 0, nlflags = NLM_F_REPLACE | NLM_F_CREATE; in main()
88 case ARG_UPDATE_ONLY: nlflags &= ~NLM_F_CREATE; break; in main()
Dnl-class-add.c66 int err, flags = NLM_F_CREATE | NLM_F_EXCL; in main()
115 case ARG_UPDATE: flags = NLM_F_CREATE; break; in main()
Dnl-cls-add.c66 int err, flags = NLM_F_CREATE | NLM_F_EXCL; in main()
119 case ARG_UPDATE: flags = NLM_F_CREATE; break; in main()
/third_party/libnl/tests/
Dtest-complex-HTB-with-hash-filters.c178 if ((err = rtnl_cls_add(sock, cls, NLM_F_CREATE))) { in u32_add_filter_on_ht()
232 if ((err = rtnl_cls_add(sock, cls, NLM_F_CREATE))) { in u32_add_filter_on_ht_with_hashmask()
271 if ((err = rtnl_cls_add(sock, cls, NLM_F_CREATE))) { in u32_add_ht()
318 if ((err = rtnl_qdisc_add(sock, qdisc, NLM_F_CREATE))) { in qdisc_add_HTB()
383 if ((err = rtnl_class_add(sock, class, NLM_F_CREATE))) { in class_add_HTB()
438 if ((err = rtnl_class_add(sock, class, NLM_F_CREATE))) { in class_add_HTB_root()
484 if ((err = rtnl_qdisc_add(sock, qdisc, NLM_F_CREATE))) { in qdisc_add_SFQ_leaf()
Dtest-u32-filter-with-actions.c146 if ((err = rtnl_cls_add(sock, cls, NLM_F_CREATE))) { in u32_add_filter_on_ht_with_hashmask()
186 if ((err = rtnl_cls_add(sock, cls, NLM_F_CREATE))) { in u32_add_ht()
226 if ((err = rtnl_qdisc_add(sock, qdisc, NLM_F_CREATE))) { in qdisc_add_ingress()
Dtest-create-bond.c22 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { in main()
Dtest-create-ifb.c22 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { in main()
Dtest-create-veth.c33 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { in main()
Dtest-create-vlan.c36 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { in main()
Dtest-create-ipvlan.c38 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { in main()
Dtest-create-macsec.c42 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { in main()
Dtest-create-vxlan.c40 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { in main()
Dtest-create-xfrmi.c40 err = rtnl_link_add(sk, link, NLM_F_CREATE); in main()
Dtest-create-macvtap.c43 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { in main()
Dtest-create-macvlan.c43 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { in main()
Dtest-create-vrf.c33 if ((err = rtnl_link_add(sk, link, NLM_F_CREATE)) < 0) { in main()
Dtest-create-ip6tnl.c45 err = rtnl_link_add(sk, link, NLM_F_CREATE); in main()
Dtest-create-sit.c46 err = rtnl_link_add(sk, link, NLM_F_CREATE); in main()
Dtest-create-ipgre.c46 err = rtnl_link_add(sk, link, NLM_F_CREATE); in main()
Dtest-create-ipip.c46 err = rtnl_link_add(sk, link, NLM_F_CREATE); in main()
Dtest-create-ipvti.c45 err = rtnl_link_add(sk, link, NLM_F_CREATE); in main()
Dtest-create-ipgretap.c46 err = rtnl_link_add(sk, link, NLM_F_CREATE); in main()
/third_party/ltp/lib/
Dtst_netdevice.c137 NLM_F_CREATE | NLM_F_EXCL, &info, sizeof(info)); in tst_create_veth_pair()
181 NLM_F_CREATE | NLM_F_EXCL, &info, sizeof(info)); in tst_netdev_add_device()
293 NLM_F_CREATE | NLM_F_EXCL, ifname, family, address, prefix, in tst_netdev_add_address()
484 NLM_F_CREATE | NLM_F_EXCL, ifname, family, srcaddr, srcprefix, in tst_netdev_add_route()
493 NLM_F_CREATE | NLM_F_EXCL, ifname, srcaddr, srcprefix, dstaddr, in tst_netdev_add_route_inet()
/third_party/libnl/include/netlink/
Dnetlink-kernel.h134 #define NLM_F_CREATE 0x400

123