Lines Matching refs:getaddr
248 static boolean_t getaddr(rtcmd_irep_t *rcip, int which, char *s,
1306 if (!getaddr(rcip, RTA_IFA, tok, atype)) {
1315 if (!getaddr(rcip, RTA_IFP, tok, atype)) {
1324 if (!getaddr(rcip, RTA_GATEWAY, tok, atype)) {
1333 if (!getaddr(rcip, RTA_DST, tok, atype)) {
1342 if (!getaddr(rcip, RTA_NETMASK, tok, atype)) {
1373 if (!getaddr(rcip, RTA_SRC, tok, atype)) {
1416 if (!getaddr(rcip, RTA_DST, tok, atype)) {
1426 if (!getaddr(rcip, RTA_GATEWAY, tok, atype)) {
1449 if (!getaddr(rcip, RTA_NETMASK, tok, atype)) {
2033 * If the address family is one looked up in getaddr() using one of the
2042 getaddr(rtcmd_irep_t *rcip, int which, char *s, addr_type_t atype)
2094 return (getaddr(rcip, RTA_NETMASK, s, ADDR_TYPE_NET));