OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:rtm
(Results
1 - 9
of
9
) sorted by null
/external/dnsmasq/src/
netlink.c
277
struct rtmsg *
rtm
= NLMSG_DATA(h);
local
280
if (
rtm
->rtm_type != RTN_UNICAST ||
rtm
->rtm_scope != RT_SCOPE_LINK)
/external/dhcpcd/
if-bsd.c
201
struct
rtm
struct
205
}
rtm
;
local
206
char *bp =
rtm
.buffer;
223
memset(&
rtm
, 0, sizeof(
rtm
));
224
rtm
.hdr.rtm_version = RTM_VERSION;
225
rtm
.hdr.rtm_seq = 1;
227
rtm
.hdr.rtm_type = RTM_CHANGE;
229
rtm
.hdr.rtm_type = RTM_ADD;
231
rtm
.hdr.rtm_type = RTM_DELETE
317
struct rt_msghdr *
rtm
;
local
[
all
...]
if-linux.c
233
struct rtmsg *
rtm
;
local
241
if ((size_t)len < sizeof(*
rtm
)) {
245
rtm
= NLMSG_DATA(nlm);
246
if (
rtm
->rtm_type != RTN_UNICAST ||
247
rtm
->rtm_table != RT_TABLE_MAIN ||
248
rtm
->rtm_family != AF_INET ||
251
rta = (struct rtattr *) ((char *)
rtm
+ NLMSG_ALIGN(sizeof(*
rtm
)));
252
len = NLMSG_PAYLOAD(nlm, sizeof(*
rtm
));
282
inet_cidrtoaddr(
rtm
->rtm_dst_len, &rt.net)
[
all
...]
/external/libnl/lib/route/
rule.c
390
struct rtmsg
rtm
= {
local
395
rtm
.rtm_type = RTN_UNICAST;
398
rtm
.rtm_family = tmpl->r_family;
401
rtm
.rtm_table = tmpl->r_table;
404
rtm
.rtm_tos = tmpl->r_dsfield;
407
rtm
.rtm_type = tmpl->r_type;
410
rtm
.rtm_src_len = tmpl->r_src_len;
413
rtm
.rtm_dst_len = tmpl->r_dst_len;
419
if (nlmsg_append(msg, &
rtm
, sizeof(
rtm
), NLMSG_ALIGNTO) < 0
[
all
...]
route_obj.c
913
struct rtmsg *
rtm
;
local
932
rtm
= nlmsg_data(nlh);
933
route->rt_family = family =
rtm
->rtm_family;
934
route->rt_tos =
rtm
->rtm_tos;
935
route->rt_table =
rtm
->rtm_table;
936
route->rt_type =
rtm
->rtm_type;
937
route->rt_scope =
rtm
->rtm_scope;
938
route->rt_protocol =
rtm
->rtm_protocol;
939
route->rt_flags =
rtm
->rtm_flags;
952
nl_addr_set_family(dst,
rtm
->rtm_family)
[
all
...]
/system/core/libsysutils/src/
NetlinkEvent.cpp
89
#define NL_EVENT_RTM_NAME(
rtm
) case
rtm
: return #
rtm
;
287
struct rtmsg *
rtm
= (struct rtmsg *) NLMSG_DATA(nh);
local
288
if (!checkRtNetlinkLength(nh, sizeof(*
rtm
)))
292
(
rtm
->rtm_protocol != RTPROT_KERNEL &&
293
rtm
->rtm_protocol != RTPROT_RA) ||
295
(
rtm
->rtm_scope != RT_SCOPE_UNIVERSE) ||
296
(
rtm
->rtm_type != RTN_UNICAST) ||
298
(
rtm
->rtm_src_len != 0) |
[
all
...]
/external/iproute2/ip/
iproute.c
1027
struct rtmsg
rtm
;
member in struct:__anon26201
1040
req.
rtm
.rtm_family = family;
1041
req.
rtm
.rtm_flags |= RTM_F_CLONED;
[
all
...]
/external/wpa_supplicant_8/src/drivers/
driver_bsd.c
727
struct rt_msghdr *
rtm
;
local
742
rtm
= (struct rt_msghdr *) drv->event_buf;
743
if (
rtm
->rtm_version != RTM_VERSION) {
745
rtm
->rtm_version);
748
ifan = (struct if_announcemsghdr *)
rtm
;
749
switch (
rtm
->rtm_type) {
1182
struct rt_msghdr *
rtm
;
local
1197
rtm
= (struct rt_msghdr *) drv->event_buf;
1198
if (
rtm
->rtm_version != RTM_VERSION) {
1200
rtm
->rtm_version)
[
all
...]
/prebuilts/tools/common/m2/repository/org/freemarker/freemarker/2.3.20/
freemarker-2.3.20.jar
Completed in 871 milliseconds