/external/libnl/lib/route/ |
D | link.c | 92 static struct rtnl_link_af_ops *af_lookup_and_alloc(struct rtnl_link *link, in af_lookup_and_alloc() argument 102 if (!(data = rtnl_link_af_alloc(link, af_ops))) { in af_lookup_and_alloc() 110 static int af_free(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_free() argument 114 ops->ao_free(link, data); in af_free() 132 static int af_clone(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_clone() argument 144 static int af_fill(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_fill() argument 158 if ((err = ops->ao_fill_af(link, arg, data)) < 0) in af_fill() 167 static int af_fill_pi(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_fill_pi() argument 183 if ((err = ops->ao_fill_pi(link, arg, data)) < 0) in af_fill_pi() 191 static int af_dump_line(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_dump_line() argument [all …]
|
/external/libnl/lib/route/link/ |
D | ipgre.c | 55 uint32_t link; member 74 static int ipgre_alloc(struct rtnl_link *link) in ipgre_alloc() argument 78 if (link->l_info) in ipgre_alloc() 79 memset(link->l_info, 0, sizeof(*ipgre)); in ipgre_alloc() 85 link->l_info = ipgre; in ipgre_alloc() 91 static int ipgre_parse(struct rtnl_link *link, struct nlattr *data, in ipgre_parse() argument 104 err = ipgre_alloc(link); in ipgre_parse() 108 ipgre = link->l_info; in ipgre_parse() 111 ipgre->link = nla_get_u32(tb[IFLA_GRE_LINK]); in ipgre_parse() 166 static int ipgre_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipgre_put_attrs() argument [all …]
|
D | ip6tnl.c | 53 uint32_t link; member 72 static int ip6_tnl_alloc(struct rtnl_link *link) in ip6_tnl_alloc() argument 76 if (link->l_info) in ip6_tnl_alloc() 77 memset(link->l_info, 0, sizeof(*ip6_tnl)); in ip6_tnl_alloc() 83 link->l_info = ip6_tnl; in ip6_tnl_alloc() 89 static int ip6_tnl_parse(struct rtnl_link *link, struct nlattr *data, in ip6_tnl_parse() argument 102 err = ip6_tnl_alloc(link); in ip6_tnl_parse() 106 ip6_tnl = link->l_info; in ip6_tnl_parse() 109 ip6_tnl->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in ip6_tnl_parse() 159 static int ip6_tnl_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ip6_tnl_put_attrs() argument [all …]
|
D | ipip.c | 47 uint32_t link; member 62 static int ipip_alloc(struct rtnl_link *link) in ipip_alloc() argument 66 if (link->l_info) in ipip_alloc() 67 memset(link->l_info, 0, sizeof(*ipip)); in ipip_alloc() 73 link->l_info = ipip; in ipip_alloc() 79 static int ipip_parse(struct rtnl_link *link, struct nlattr *data, in ipip_parse() argument 92 err = ipip_alloc(link); in ipip_parse() 96 ipip = link->l_info; in ipip_parse() 99 ipip->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in ipip_parse() 134 static int ipip_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipip_put_attrs() argument [all …]
|
D | ipvti.c | 43 uint32_t link; member 59 static int ipvti_alloc(struct rtnl_link *link) in ipvti_alloc() argument 63 if (link->l_info) in ipvti_alloc() 64 memset(link->l_info, 0, sizeof(*ipvti)); in ipvti_alloc() 70 link->l_info = ipvti; in ipvti_alloc() 76 static int ipvti_parse(struct rtnl_link *link, struct nlattr *data, in ipvti_parse() argument 89 err = ipvti_alloc(link); in ipvti_parse() 93 ipvti = link->l_info; in ipvti_parse() 96 ipvti->link = nla_get_u32(tb[IFLA_VTI_LINK]); in ipvti_parse() 126 static int ipvti_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipvti_put_attrs() argument [all …]
|
D | xfrmi.c | 42 uint32_t link; member 52 static int xfrmi_alloc(struct rtnl_link *link) in xfrmi_alloc() argument 56 if (link->l_info) in xfrmi_alloc() 57 memset(link->l_info, 0, sizeof(*xfrmi)); in xfrmi_alloc() 63 link->l_info = xfrmi; in xfrmi_alloc() 69 static int xfrmi_parse(struct rtnl_link *link, struct nlattr *data, in xfrmi_parse() argument 82 err = xfrmi_alloc(link); in xfrmi_parse() 86 xfrmi = link->l_info; in xfrmi_parse() 89 xfrmi->link = nla_get_u32(tb[IFLA_XFRM_LINK]); in xfrmi_parse() 101 static int xfrmi_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in xfrmi_put_attrs() argument [all …]
|
D | sit.c | 55 uint32_t link; member 80 static int sit_alloc(struct rtnl_link *link) in sit_alloc() argument 84 if (link->l_info) in sit_alloc() 85 memset(link->l_info, 0, sizeof(*sit)); in sit_alloc() 91 link->l_info = sit; in sit_alloc() 97 static int sit_parse(struct rtnl_link *link, struct nlattr *data, in sit_parse() argument 110 err = sit_alloc(link); in sit_parse() 114 sit = link->l_info; in sit_parse() 117 sit->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in sit_parse() 183 static int sit_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in sit_put_attrs() argument [all …]
|
D | macsec.c | 95 static int macsec_alloc(struct rtnl_link *link) in macsec_alloc() argument 99 if (!link->l_info) { in macsec_alloc() 100 link->l_info = malloc(sizeof(struct macsec_info)); in macsec_alloc() 101 if (!link->l_info) in macsec_alloc() 105 memset(link->l_info, 0, sizeof(struct macsec_info)); in macsec_alloc() 106 info = link->l_info; in macsec_alloc() 115 static int macsec_parse(struct rtnl_link *link, struct nlattr *data, in macsec_parse() argument 127 if ((err = macsec_alloc(link)) < 0) in macsec_parse() 130 info = link->l_info; in macsec_parse() 197 static void macsec_free(struct rtnl_link *link) in macsec_free() argument [all …]
|
D | vxlan.c | 125 static int vxlan_alloc(struct rtnl_link *link) in vxlan_alloc() argument 129 if (link->l_info) in vxlan_alloc() 130 memset(link->l_info, 0, sizeof(*vxi)); in vxlan_alloc() 135 link->l_info = vxi; in vxlan_alloc() 141 static int vxlan_parse(struct rtnl_link *link, struct nlattr *data, in vxlan_parse() argument 153 if ((err = vxlan_alloc(link)) < 0) in vxlan_parse() 156 vxi = link->l_info; in vxlan_parse() 300 static void vxlan_free(struct rtnl_link *link) in vxlan_free() argument 302 struct vxlan_info *vxi = link->l_info; in vxlan_free() 305 link->l_info = NULL; in vxlan_free() [all …]
|
D | geneve.c | 76 static int geneve_alloc(struct rtnl_link *link) in geneve_alloc() argument 80 if (link->l_info) in geneve_alloc() 81 memset(link->l_info, 0, sizeof(*geneve)); in geneve_alloc() 85 link->l_info = geneve; in geneve_alloc() 91 static int geneve_parse(struct rtnl_link *link, struct nlattr *data, in geneve_parse() argument 104 err = geneve_alloc(link); in geneve_parse() 108 geneve = link->l_info; in geneve_parse() 169 static void geneve_free(struct rtnl_link *link) in geneve_free() argument 171 struct geneve_info *geneve = link->l_info; in geneve_free() 174 link->l_info = NULL; in geneve_free() [all …]
|
D | macvlan.c | 64 static int macvlan_alloc(struct rtnl_link *link) in macvlan_alloc() argument 69 if (link->l_info) { in macvlan_alloc() 70 mvi = link->l_info; in macvlan_alloc() 79 link->l_info = mvi; in macvlan_alloc() 86 static int macvlan_parse(struct rtnl_link *link, struct nlattr *data, in macvlan_parse() argument 95 NL_DBG(3, "Parsing %s link info", link->l_info_ops->io_name); in macvlan_parse() 100 if ((err = macvlan_alloc(link)) < 0) in macvlan_parse() 103 mvi = link->l_info; in macvlan_parse() 146 static void macvlan_free(struct rtnl_link *link) in macvlan_free() argument 151 mvi = link->l_info; in macvlan_free() [all …]
|
D | can.c | 72 static int can_alloc(struct rtnl_link *link) in can_alloc() argument 76 if (link->l_info) in can_alloc() 77 memset(link->l_info, 0, sizeof(*ci)); in can_alloc() 83 link->l_info = ci; in can_alloc() 89 static int can_parse(struct rtnl_link *link, struct nlattr *data, in can_parse() argument 101 if ((err = can_alloc(link)) < 0) in can_parse() 104 ci = link->l_info; in can_parse() 157 static void can_free(struct rtnl_link *link) in can_free() argument 159 struct can_info *ci = link->l_info; in can_free() 162 link->l_info = NULL; in can_free() [all …]
|
D | veth.c | 41 static int veth_parse(struct rtnl_link *link, struct nlattr *data, in veth_parse() argument 46 struct rtnl_link *peer = link->l_info; in veth_parse() 84 static void veth_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in veth_dump_line() argument 88 static void veth_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in veth_dump_details() argument 90 struct rtnl_link *peer = link->l_info; in veth_dump_details() 118 static int veth_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in veth_put_attrs() argument 120 struct rtnl_link *peer = link->l_info; in veth_put_attrs() 144 static int veth_alloc(struct rtnl_link *link) in veth_alloc() argument 150 if (link->l_info) in veth_alloc() 159 peer->l_info = link; in veth_alloc() [all …]
|
D | vrf.c | 54 static int vrf_alloc(struct rtnl_link *link) in vrf_alloc() argument 58 if (link->l_info) { in vrf_alloc() 59 memset(link->l_info, 0, sizeof (*vi)); in vrf_alloc() 66 link->l_info = vi; in vrf_alloc() 71 static int vrf_parse(struct rtnl_link *link, struct nlattr *data, in vrf_parse() argument 83 if ((err = vrf_alloc(link)) < 0) in vrf_parse() 86 vi = link->l_info; in vrf_parse() 99 static void vrf_free(struct rtnl_link *link) in vrf_free() argument 101 free(link->l_info); in vrf_free() 102 link->l_info = NULL; in vrf_free() [all …]
|
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/ |
D | rtnetlink.sh | 43 ip link set dev $swp1 up 44 ip link set dev $swp2 up 51 ip link set dev $swp2 down 52 ip link set dev $swp1 down 71 ip link set dev $swp1 addr 00:11:22:33:44:55 82 ip link set dev $swp2 addr 00:11:22:33:44:66 89 ip link set dev $swp2 addr 00:11:22:33:00:66 &>/dev/null 91 ip link set dev $swp2 addr 00:11:22:33:00:66 2>&1 >/dev/null \ 100 ip link set dev $swp2 addr $swp2_mac 101 ip link set dev $swp1 addr $swp1_mac [all …]
|
D | vxlan.sh | 19 ip link set dev $swp1 up 20 ip link set dev $swp2 up 27 ip link set dev $swp2 down 28 ip link set dev $swp1 down 33 ip link set dev $swp1 master br0 35 ip link set dev vxlan0 master br0 38 ip link set dev $swp1 nomaster 40 ip link set dev $swp1 master br0 46 ip link set dev $swp1 master br0 48 ip link set dev vxlan0 master br0 &> /dev/null [all …]
|
D | extack.sh | 21 ip link set dev $swp1 up 22 ip link set dev $swp2 up 29 ip link set dev $swp2 down 30 ip link set dev $swp1 down 37 ip link add name br1 up type bridge vlan_filtering 0 mcast_snooping 0 38 ip link add name vx1 up type vxlan id 1000 \ 42 ip link set dev vx1 master br1 45 ip link set dev $swp1 master br1 48 ip link add name br2 up type bridge vlan_filtering 0 mcast_snooping 0 49 ip link add name vx2 up type vxlan id 2000 \ [all …]
|
/external/llvm-project/libcxx/docs/ |
D | Cxx1zStatusIssuesStatus.csv | 2 "`2016 <https://wg21.link/LWG2016>`__","Allocators must be no-throw swappable","Urbana","|Complete|… 3 "`2118 <https://wg21.link/LWG2376>`__","``unique_ptr``\ for array does not support cv qualificatio… 4 "`2170 <https://wg21.link/LWG2170>`__","Aggregates cannot be ``DefaultConstructible``\ ","Urbana","… 5 "`2308 <https://wg21.link/LWG2308>`__","Clarify container destructor requirements w.r.t. ``std::arr… 6 "`2340 <https://wg21.link/LWG2340>`__","Replacement allocation functions declared as inline","Urban… 7 "`2354 <https://wg21.link/LWG2354>`__","Unnecessary copying when inserting into maps with braced-in… 8 "`2377 <https://wg21.link/LWG2377>`__","``std::align``\ requirements overly strict","Urbana","|Com… 9 "`2396 <https://wg21.link/LWG2396>`__","``underlying_type``\ doesn't say what to do for an incompl… 10 "`2399 <https://wg21.link/LWG2399>`__","``shared_ptr``\ 's constructor from ``unique_ptr``\ should… 11 "`2400 <https://wg21.link/LWG2400>`__","``shared_ptr``\ 's ``get_deleter()``\ should use ``address… [all …]
|
D | Cxx1yStatusIssuesStatus.csv | 2 "`1214 <https://wg21.link/lwg1214>`__","Insufficient/inconsistent key immutability requirements for… 3 "`2009 <https://wg21.link/lwg2009>`__","Reporting out-of-bound values on numeric string conversions… 4 "`2010 <https://wg21.link/lwg2010>`__","``is_*``\ traits for binding operations can't be meaningfu… 5 "`2015 <https://wg21.link/lwg2015>`__","Incorrect pre-conditions for some type traits","Kona","|Com… 6 "`2021 <https://wg21.link/lwg2021>`__","Further incorrect usages of result_of","Kona","|Complete|" 7 "`2028 <https://wg21.link/lwg2028>`__","messages_base::catalog overspecified","Kona","|Complete|" 8 "`2033 <https://wg21.link/lwg2033>`__","Preconditions of reserve, shrink_to_fit, and resize functio… 9 "`2039 <https://wg21.link/lwg2039>`__","Issues with std::reverse and std::copy_if","Kona","|Complet… 10 "`2044 <https://wg21.link/lwg2044>`__","No definition of ""Stable"" for copy algorithms","Kona","|C… 11 "`2045 <https://wg21.link/lwg2045>`__","forward_list::merge and forward_list::splice_after with une… [all …]
|
D | Cxx2aStatusPaperStatus.csv | 2 "`P0463R1 <https://wg21.link/P0463R1>`__","LWG","Endian just Endian","Toronto","|Complete|","7.0" 3 "`P0674R1 <https://wg21.link/P0674R1>`__","LWG","Extending make_shared to Support Arrays","Toronto"… 5 "`P0020R6 <https://wg21.link/P0020R6>`__","LWG","Floating Point Atomic","Albuquerque","","" 6 "`P0053R7 <https://wg21.link/P0053R7>`__","LWG","C++ Synchronized Buffered Ostream","Albuquerque","… 7 "`P0202R3 <https://wg21.link/P0202R3>`__","LWG","Add constexpr modifiers to functions in <algorithm… 8 "`P0415R1 <https://wg21.link/P0415R1>`__","LWG","Constexpr for ``std::complex``\ ","Albuquerque","|… 9 "`P0439R0 <https://wg21.link/P0439R0>`__","LWG","Make ``std::memory_order``\ a scoped enumeration"… 10 "`P0457R2 <https://wg21.link/P0457R2>`__","LWG","String Prefix and Suffix Checking","Albuquerque","… 11 "`P0550R2 <https://wg21.link/P0550R2>`__","LWG","Transformation Trait ``remove_cvref``\ ","Albuquer… 12 "`P0600R1 <https://wg21.link/P0600R1>`__","LWG","nodiscard in the Library","Albuquerque","|In Progr… [all …]
|
D | Cxx2aStatusIssuesStatus.csv | 2 …/wg21.link/LWG2070>`__","``allocate_shared``\ should use ``allocator_traits<A>::construct``\ ","T… 3 "`2444 <https://wg21.link/LWG2444>`__","Inconsistent complexity for ``std::sort_heap``\ ","Toronto"… 4 "`2593 <https://wg21.link/LWG2593>`__","Moved-from state of Allocators","Toronto","","" 5 "`2597 <https://wg21.link/LWG2597>`__","``std::log``\ misspecified for complex numbers","Toronto",… 6 "`2783 <https://wg21.link/LWG2783>`__","``stack::emplace()``\ and ``queue::emplace()``\ should re… 7 "`2932 <https://wg21.link/LWG2932>`__","Constraints on parallel algorithm implementations are under… 8 "`2937 <https://wg21.link/LWG2937>`__","Is ``equivalent(""existing_thing"", ""not_existing_thing"")… 9 "`2940 <https://wg21.link/LWG2940>`__","``result_of``\ specification also needs a little cleanup",… 10 "`2942 <https://wg21.link/LWG2942>`__","LWG 2873's resolution missed ``weak_ptr::owner_before``\ ",… 11 "`2954 <https://wg21.link/LWG2954>`__","Specialization of the convenience variable templates should… [all …]
|
/external/libnl/include/netlink/route/link/ |
D | sit.h | 25 extern int rtnl_link_is_sit(struct rtnl_link *link); 27 extern int rtnl_link_sit_set_link(struct rtnl_link *link, uint32_t index); 28 extern uint32_t rtnl_link_sit_get_link(struct rtnl_link *link); 30 extern int rtnl_link_sit_set_local(struct rtnl_link *link, uint32_t addr); 31 extern uint32_t rtnl_link_sit_get_local(struct rtnl_link *link); 33 extern int rtnl_link_sit_set_remote(struct rtnl_link *link, uint32_t addr); 34 extern uint32_t rtnl_link_sit_get_remote(struct rtnl_link *link); 36 extern int rtnl_link_sit_set_ttl(struct rtnl_link *link, uint8_t ttl); 37 extern uint8_t rtnl_link_sit_get_ttl(struct rtnl_link *link); 39 extern int rtnl_link_sit_set_tos(struct rtnl_link *link, uint8_t tos); [all …]
|
D | ipgre.h | 22 extern int rtnl_link_is_ipgre(struct rtnl_link *link); 23 extern int rtnl_link_is_ipgretap(struct rtnl_link *link); 30 extern int rtnl_link_ipgre_set_link(struct rtnl_link *link, uint32_t index); 31 extern uint32_t rtnl_link_ipgre_get_link(struct rtnl_link *link); 33 extern int rtnl_link_ipgre_set_iflags(struct rtnl_link *link, uint16_t iflags); 34 extern uint16_t rtnl_link_ipgre_get_iflags(struct rtnl_link *link); 36 extern int rtnl_link_ipgre_set_oflags(struct rtnl_link *link, uint16_t oflags); 37 extern uint16_t rtnl_link_ipgre_get_oflags(struct rtnl_link *link); 39 extern int rtnl_link_ipgre_set_ikey(struct rtnl_link *link, uint32_t ikey); 40 extern uint32_t rtnl_link_ipgre_get_ikey(struct rtnl_link *link); [all …]
|
/external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
D | vxlan_symmetric.sh | 122 ip link set dev $if_name master $vrf_name 123 ip link set dev $vrf_name up 124 ip link set dev $if_name up 144 ip link set dev $if_name down 170 ip link add name br1 type bridge vlan_filtering 1 vlan_default_pvid 0 \ 174 ip link set dev br1 address $(mac_get $swp1) 175 ip link set dev br1 up 177 ip link set dev $rp1 up 181 ip link add name vx10 type vxlan id 1010 \ 184 ip link set dev vx10 up [all …]
|
/external/bcc/examples/networking/vlan_filter/ |
D | test_setup.sh | 18 ip link add veth11 type veth peer name veth13 19 ip link add veth21 type veth peer name veth23 20 ip link set veth11 netns netns11 21 ip link set veth21 netns netns21 22 ip link set veth13 netns netns3 23 ip link set veth23 netns netns3 26 ip link add veth12 type veth peer name veth14 27 ip link add veth22 type veth peer name veth24 28 ip link set veth12 netns netns12 29 ip link set veth22 netns netns22 [all …]
|