Home
last modified time | relevance | path

Searched refs:NLMSG_ALIGNTO (Results 1 – 25 of 27) sorted by relevance

12

/third_party/libnl/include/netlink/
Dnetlink-kernel.h199 #define NLMSG_ALIGNTO 4
206 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
/third_party/libnl/include/linux-private/linux/
Dnetlink.h89 #define NLMSG_ALIGNTO 4U macro
90 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
186 #define NL_MMAP_MSG_ALIGNMENT NLMSG_ALIGNTO
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dpriv_netlink.h48 #define NLMSG_ALIGNTO 4 macro
49 #define NLMSG_ALIGN(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1))
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dpriv_netlink.h48 #define NLMSG_ALIGNTO 4 macro
49 #define NLMSG_ALIGN(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1))
/third_party/libnl/src/
Dnl-route-get.c72 if (nlmsg_append(m, &rmsg, sizeof(rmsg), NLMSG_ALIGNTO) < 0) in main()
/third_party/libnl/lib/netfilter/
Dnfnl.c182 nfg = nlmsg_reserve(msg, sizeof(*nfg), NLMSG_ALIGNTO); in nfnlmsg_append()
/third_party/libnl/lib/route/link/
Dveth.c135 if (nlmsg_append(msg, &ifi, sizeof(ifi), NLMSG_ALIGNTO) < 0) in veth_put_attrs()
/third_party/libnl/lib/fib_lookup/
Dlookup.c239 if (nlmsg_append(msg, &fr, sizeof(fr), NLMSG_ALIGNTO) < 0) in flnl_lookup_build_request()
/third_party/libnl/lib/route/
Dclass.c218 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) { in rtnl_class_build_delete_request()
Dqdisc.c298 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) in rtnl_qdisc_build_delete_request()
Dneigh.c472 if (nlmsg_append(msg, &hdr, sizeof(hdr), NLMSG_ALIGNTO) < 0) in neigh_request_update()
716 if (nlmsg_append(msg, &nhdr, sizeof(nhdr), NLMSG_ALIGNTO) < 0) in build_neigh_msg()
Dact.c150 if (nlmsg_append(msg, &tcahdr, sizeof(tcahdr), NLMSG_ALIGNTO) < 0) in rtnl_act_msg_build()
Dlink.c815 if (nlmsg_append(msg, &hdr, sizeof(hdr), NLMSG_ALIGNTO) < 0) in link_request_update()
1390 if (nlmsg_append(msg, &ifi, sizeof(ifi), NLMSG_ALIGNTO) < 0) { in rtnl_link_build_get_request()
1592 if (nlmsg_append(msg, hdr, sizeof(*hdr), NLMSG_ALIGNTO) < 0) in build_link_msg()
1869 if (nlmsg_append(msg, &ifi, sizeof(ifi), NLMSG_ALIGNTO) < 0) in rtnl_link_build_delete_request()
Droute_obj.c1379 if (nlmsg_append(msg, &rtmsg, sizeof(rtmsg), NLMSG_ALIGNTO) < 0) in rtnl_route_build_msg()
1449 rtnh = nlmsg_reserve(msg, sizeof(*rtnh), NLMSG_ALIGNTO); in rtnl_route_build_msg()
Dneightbl.c474 if (nlmsg_append(m, &ndt, sizeof(ndt), NLMSG_ALIGNTO) < 0) in rtnl_neightbl_build_change_request()
Dtc.c218 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) { in rtnl_tc_msg_build()
Daddr.c647 if (nlmsg_append(msg, &am, sizeof(am), NLMSG_ALIGNTO) < 0) in build_addr_msg()
Drule.c455 if (nlmsg_append(msg, &frh, sizeof(frh), NLMSG_ALIGNTO) < 0) in build_rule_msg()
/third_party/libnl/lib/xfrm/
Dsp.c713 if (nlmsg_append(msg, &spid, sizeof(spid), NLMSG_ALIGNTO) < 0) in xfrmnl_sp_build_get_request()
829 if (nlmsg_append(msg, &sp_info, sizeof(sp_info), NLMSG_ALIGNTO) < 0) in build_xfrm_sp_message()
853 tmpl = nlmsg_reserve(msg, sizeof(*tmpl), NLMSG_ALIGNTO); in build_xfrm_sp_message()
994 if (nlmsg_append(msg, &spid, sizeof(spid), NLMSG_ALIGNTO) < 0) in build_xfrm_sp_delete_message()
Dae.c396 if (nlmsg_append(msg, &ae_id, sizeof(ae_id), NLMSG_ALIGNTO) < 0) in build_xfrm_ae_message()
616 if (nlmsg_append(msg, &ae_id, sizeof(ae_id), NLMSG_ALIGNTO) < 0) in xfrmnl_ae_build_get_request()
Dsa.c1049 if (nlmsg_append(msg, &sa_id, sizeof(sa_id), NLMSG_ALIGNTO) < 0) in xfrmnl_sa_build_get_request()
1171 if (nlmsg_append(msg, &sa_info, sizeof(sa_info), NLMSG_ALIGNTO) < 0) in build_xfrm_sa_message()
1349 if (nlmsg_append(msg, &sa_id, sizeof(sa_id), NLMSG_ALIGNTO) < 0) in build_xfrm_sa_delete_message()
/third_party/libnl/lib/
Dmsg.c528 nlmsg_reserve(n, payload, NLMSG_ALIGNTO) == NULL) in nlmsg_put()
Dnl.c592 err = nlmsg_append(msg, buf, size, NLMSG_ALIGNTO); in nl_send_simple()
/third_party/libnl/lib/route/qdisc/
Dnetem.c327 NLMSG_LENGTH(sizeof(struct tcmsg)) - NLMSG_ALIGNTO); in netem_msg_fill_raw()
/third_party/libnl/doc/
Dcore.txt1203 boundries. The alignment value is defined by NLMSG_ALIGNTO and is
1206 must start at an offset which is a multiple of NLMSG_ALIGNTO.
1325 to start at a multiple of +NLMSG_ALIGNTO+. Padding at the end of the
1528 equivalent to calling +nlmsg_reserve(msg, payload, NLMSG_ALIGNTO)+.
2360 if (nlmsg_append(msg, &ifi, sizeof(ifi), NLMSG_ALIGNTO) < 0)

12