Home
last modified time | relevance | path

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

1234

/external/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()
/external/strace/xlat/
Dnetlink_new_flags.h23 #if defined(NLM_F_CREATE) || (defined(HAVE_DECL_NLM_F_CREATE) && HAVE_DECL_NLM_F_CREATE)
24 XLAT(NLM_F_CREATE),
Dnetlink_new_flags.in3 NLM_F_CREATE
/external/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-vlan.c36 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-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-ipgretap.c46 err = rtnl_link_add(sk, link, NLM_F_CREATE); in main()
/external/iproute2/tc/
Dtc_qdisc.c235 (n->nlmsg_flags & NLM_F_CREATE) && in print_qdisc()
240 (n->nlmsg_flags & NLM_F_CREATE) && in print_qdisc()
377 return tc_qdisc_modify(RTM_NEWQDISC, NLM_F_EXCL|NLM_F_CREATE, argc-1, argv+1); in do_qdisc()
381 return tc_qdisc_modify(RTM_NEWQDISC, NLM_F_CREATE|NLM_F_REPLACE, argc-1, argv+1); in do_qdisc()
Dtc_filter.c69 if (cmd == RTM_NEWTFILTER && flags & NLM_F_CREATE) in tc_filter_modify()
245 (n->nlmsg_flags & NLM_F_CREATE) && in print_filter()
250 (n->nlmsg_flags & NLM_F_CREATE) && in print_filter()
632 return tc_filter_modify(RTM_NEWTFILTER, NLM_F_EXCL|NLM_F_CREATE, in do_filter()
637 return tc_filter_modify(RTM_NEWTFILTER, NLM_F_CREATE, argc-1, in do_filter()
/external/libnl/include/netlink/
Dnetlink-kernel.h134 #define NLM_F_CREATE 0x400

1234