Home
last modified time | relevance | path

Searched refs:l_info (Results 1 – 19 of 19) sorted by relevance

/third_party/libnl/lib/route/link/
Dmacsec.c99 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()
130 info = link->l_info; in macsec_parse()
199 free(link->l_info); in macsec_free()
200 link->l_info = NULL; in macsec_free()
262 struct macsec_info *info = link->l_info; in macsec_dump_line()
270 struct macsec_info *info = link->l_info; in macsec_dump_details()
[all …]
Dveth.c46 struct rtnl_link *peer = link->l_info; in veth_parse()
90 struct rtnl_link *peer = link->l_info; in veth_dump_details()
102 struct rtnl_link *dst_peer = NULL, *src_peer = src->l_info; in veth_clone()
107 src_peer->l_info = NULL; in veth_clone()
111 src_peer->l_info = src; in veth_clone()
112 dst_peer->l_info = dst; in veth_clone()
114 dst->l_info = dst_peer; in veth_clone()
120 struct rtnl_link *peer = link->l_info; in veth_put_attrs()
150 if (link->l_info) in veth_alloc()
159 peer->l_info = link; in veth_alloc()
[all …]
Dip6tnl.c76 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()
106 ip6_tnl = link->l_info; in ip6_tnl_parse()
161 struct ip6_tnl_info *ip6_tnl = link->l_info; in ip6_tnl_put_attrs()
206 struct ip6_tnl_info *ip6_tnl = link->l_info; in ip6_tnl_free()
209 link->l_info = NULL; in ip6_tnl_free()
219 struct ip6_tnl_info *ip6_tnl = link->l_info; in ip6_tnl_dump_details()
288 struct ip6_tnl_info *ip6_tnl_dst, *ip6_tnl_src = src->l_info; in ip6_tnl_clone()
291 dst->l_info = NULL; in ip6_tnl_clone()
[all …]
Dipgre.c78 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()
108 ipgre = link->l_info; in ipgre_parse()
168 struct ipgre_info *ipgre = link->l_info; in ipgre_put_attrs()
214 struct ipgre_info *ipgre = link->l_info; in ipgre_free()
217 link->l_info = NULL; in ipgre_free()
227 struct ipgre_info *ipgre = link->l_info; in ipgre_dump_details()
299 struct ipgre_info *ipgre_dst, *ipgre_src = src->l_info; in ipgre_clone()
302 dst->l_info = NULL; in ipgre_clone()
[all …]
Dipip.c66 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()
96 ipip = link->l_info; in ipip_parse()
136 struct ipip_info *ipip = link->l_info; in ipip_put_attrs()
169 struct ipip_info *ipip = link->l_info; in ipip_free()
172 link->l_info = NULL; in ipip_free()
182 struct ipip_info *ipip = link->l_info; in ipip_dump_details()
234 struct ipip_info *ipip_dst, *ipip_src = src->l_info; in ipip_clone()
237 dst->l_info = NULL; in ipip_clone()
[all …]
Dipvti.c63 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()
93 ipvti = link->l_info; in ipvti_parse()
128 struct ipvti_info *ipvti = link->l_info; in ipvti_put_attrs()
159 struct ipvti_info *ipvti = link->l_info; in ipvti_free()
162 link->l_info = NULL; in ipvti_free()
172 struct ipvti_info *ipvti = link->l_info; in ipvti_dump_details()
219 struct ipvti_info *ipvti_dst, *ipvti_src = src->l_info; in ipvti_clone()
222 dst->l_info = NULL; in ipvti_clone()
[all …]
Dvrf.c57 if (link->l_info) { in vrf_alloc()
58 memset(link->l_info, 0, sizeof (*vi)); in vrf_alloc()
65 link->l_info = vi; in vrf_alloc()
85 vi = link->l_info; in vrf_parse()
100 free(link->l_info); in vrf_free()
101 link->l_info = NULL; in vrf_free()
106 struct vrf_info *vdst, *vsrc = src->l_info; in vrf_clone()
109 dst->l_info = NULL; in vrf_clone()
112 vdst = dst->l_info; in vrf_clone()
123 struct vrf_info *vi = link->l_info; in vrf_put_attrs()
[all …]
Dppp.c48 if (link->l_info) in ppp_alloc()
49 memset(link->l_info, 0, sizeof(*info)); in ppp_alloc()
54 link->l_info = info; in ppp_alloc()
75 info = link->l_info; in ppp_parse()
89 free(link->l_info); in ppp_free()
90 link->l_info = NULL; in ppp_free()
95 struct ppp_info *vdst, *vsrc = src->l_info; in ppp_clone()
98 dst->l_info = NULL; in ppp_clone()
101 vdst = dst->l_info; in ppp_clone()
113 struct ppp_info *info = link->l_info; in ppp_put_attrs()
[all …]
Dgeneve.c80 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()
108 geneve = link->l_info; in geneve_parse()
171 struct geneve_info *geneve = link->l_info; in geneve_free()
174 link->l_info = NULL; in geneve_free()
179 struct geneve_info *geneve = link->l_info; in geneve_dump_line()
186 struct geneve_info *geneve = link->l_info; in geneve_dump_details()
258 gsrc = src->l_info; in geneve_clone()
259 dst->l_info = NULL; in geneve_clone()
[all …]
Dcan.c76 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()
104 ci = link->l_info; in can_parse()
159 struct can_info *ci = link->l_info; in can_free()
162 link->l_info = NULL; in can_free()
198 struct can_info *ci = link->l_info; in can_dump_line()
208 struct can_info *ci = link->l_info; in can_dump_details()
278 struct can_info *cdst, *csrc = src->l_info; in can_clone()
281 dst->l_info = NULL; in can_clone()
[all …]
Dipvlan.c55 if (link->l_info) in ipvlan_alloc()
56 memset(link->l_info, 0, sizeof(*ipi)); in ipvlan_alloc()
61 link->l_info = ipi; in ipvlan_alloc()
82 ipi = link->l_info; in ipvlan_parse()
96 free(link->l_info); in ipvlan_free()
97 link->l_info = NULL; in ipvlan_free()
103 struct ipvlan_info *ipi = link->l_info; in ipvlan_dump()
113 struct ipvlan_info *vdst, *vsrc = src->l_info; in ipvlan_clone()
116 dst->l_info = NULL; in ipvlan_clone()
119 vdst = dst->l_info; in ipvlan_clone()
[all …]
Dxfrmi.c56 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()
86 xfrmi = link->l_info; in xfrmi_parse()
103 struct xfrmi_info *xfrmi = link->l_info; in xfrmi_put_attrs()
124 struct xfrmi_info *xfrmi = link->l_info; in xfrmi_free()
127 link->l_info = NULL; in xfrmi_free()
137 struct xfrmi_info *xfrmi = link->l_info; in xfrmi_dump_details()
164 struct xfrmi_info *xfrmi_dst, *xfrmi_src = src->l_info; in xfrmi_clone()
167 dst->l_info = NULL; in xfrmi_clone()
[all …]
Dvxlan.c129 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()
156 vxi = link->l_info; in vxlan_parse()
302 struct vxlan_info *vxi = link->l_info; in vxlan_free()
305 link->l_info = NULL; in vxlan_free()
310 struct vxlan_info *vxi = link->l_info; in vxlan_dump_line()
317 struct vxlan_info *vxi = link->l_info; in vxlan_dump_details()
513 struct vxlan_info *vdst, *vsrc = src->l_info; in vxlan_clone()
516 dst->l_info = NULL; in vxlan_clone()
[all …]
Dvlan.c71 if (link->l_info) { in vlan_alloc()
72 vi = link->l_info; in vlan_alloc()
74 memset(link->l_info, 0, sizeof(*vi)); in vlan_alloc()
79 link->l_info = vi; in vlan_alloc()
100 vi = link->l_info; in vlan_parse()
190 struct vlan_info *vi = link->l_info; in vlan_free()
198 link->l_info = NULL; in vlan_free()
203 struct vlan_info *vi = link->l_info; in vlan_dump_line()
210 struct vlan_info *vi = link->l_info; in vlan_dump_details()
265 struct vlan_info *vdst, *vsrc = src->l_info; in vlan_clone()
[all …]
Dmacvlan.c69 if (link->l_info) { in macvlan_alloc()
70 mvi = link->l_info; in macvlan_alloc()
79 link->l_info = mvi; in macvlan_alloc()
103 mvi = link->l_info; in macvlan_parse()
151 mvi = link->l_info; in macvlan_free()
158 link->l_info = NULL; in macvlan_free()
165 struct macvlan_info *mvi = link->l_info; in macvlan_dump_details()
193 struct macvlan_info *vdst, *vsrc = src->l_info; in macvlan_clone()
197 dst->l_info = NULL; in macvlan_clone()
200 vdst = dst->l_info; in macvlan_clone()
[all …]
Dsit.c84 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()
114 sit = link->l_info; in sit_parse()
185 struct sit_info *sit = link->l_info; in sit_put_attrs()
237 struct sit_info *sit = link->l_info; in sit_free()
240 link->l_info = NULL; in sit_free()
250 struct sit_info *sit = link->l_info; in sit_dump_details()
333 struct sit_info *sit_dst, *sit_src = src->l_info; in sit_clone()
336 dst->l_info = NULL; in sit_clone()
[all …]
/third_party/openssl/crypto/ui/
Dui_openssl.c150 long iosb$l_info;
/third_party/libnl/include/netlink-private/
Dtypes.h221 void * l_info; member
/third_party/libnl/lib/route/
Dlink.c259 BUG_ON(link->l_info); in release_link_info()