/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/libppp/src/ |
route.c | 315 route_ParseHdr(struct rt_msghdr *rtm, struct sockaddr *sa[RTAX_MAX]) 320 wp = (char *)(rtm + 1); 323 if (rtm->rtm_addrs & (1 << rtax)) { 335 struct rt_msghdr *rtm; local 363 for (cp = sp; cp < ep; cp += rtm->rtm_msglen) { 364 rtm = (struct rt_msghdr *)cp; 366 route_ParseHdr(rtm, sa); 372 p_flags(arg->prompt, rtm->rtm_flags, 6); 373 prompt_Printf(arg->prompt, " %s\n", Index2Nam(rtm->rtm_index)); 387 struct rt_msghdr *rtm; local 479 struct rt_msghdr *rtm; local [all...] |
/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/wpa_supplicant_8/src/drivers/ |
driver_bsd.c | 778 struct rt_msghdr *rtm; local 802 rtm = (struct rt_msghdr *) buf; 803 if (rtm->rtm_version != RTM_VERSION) { 805 rtm->rtm_version); 809 ifan = (struct if_announcemsghdr *) rtm; 810 switch (rtm->rtm_type) { 1208 struct rt_msghdr *rtm; local 1232 rtm = (struct rt_msghdr *) buf; 1233 if (rtm->rtm_version != RTM_VERSION) { 1235 rtm->rtm_version) [all...] |
/external/ipsec-tools/src/racoon/ |
grabmyaddr.c | 643 struct rt_msghdr *rtm; 652 rtm = (struct rt_msghdr *)msg; 653 if (len < rtm->rtm_msglen) { 658 if (rtm->rtm_version != RTM_VERSION) { 665 switch (rtm->rtm_type) { 676 "msg %d not interesting\n", rtm->rtm_type); 682 "caught rtm:%d, need update interface address list\n", 683 rtm->rtm_type);
|
/external/kernel-headers/original/linux/ |
mroute6.h | 230 struct rtmsg *rtm, int nowait);
|
/external/iproute2/ip/ |
iproute.c | 1024 struct rtmsg rtm; member in struct:__anon19357 1037 req.rtm.rtm_family = family; 1038 req.rtm.rtm_flags |= RTM_F_CLONED; [all...] |
/prebuilts/tools/common/freemarker/ |
freemarker-2.3.19.jar | |