Searched refs:rd_mask (Results 1 – 3 of 3) sorted by relevance
/openbsd/usr.sbin/npppd/common/ |
H A D | radish.c | 116 new->rd_mask = masks; in rd_inithead() 124 rd_mask(struct sockaddr *m_arg, struct radish_head *head, int *maskp) in rd_mask() function 169 mask = rd_mask(m_arg, head, &masklen); in rd_insert() 184 new->rd_mask = mask; in rd_insert() 369 glue->rd_mask = (struct sockaddr *) in rd_glue() 487 rd_mask(m_arg, head, &masklen); in rd_lookup() 531 rd_mask(m_arg, head, &masklen); in rd_delete() 576 u_char ml = cur->rd_mask->sa_len; in rd_delete() 579 bcopy(cur->rd_mask, rd_deleted_km + rl, ml); in rd_delete()
|
H A D | radish.h | 47 struct sockaddr *rd_mask; /* destination mask */ member 81 struct sockaddr *rd_mask(struct sockaddr *, struct radish_head *, int *);
|
/openbsd/usr.sbin/npppd/npppd/ |
H A D | npppd.c | 1641 !sockaddr_npppd_match(radish->rd_mask, r->rd_mask)) in rtlist_remove() 1686 if (rd_lookup(radish->rd_route, radish->rd_mask, in npppd_set_radish() 1731 radish->rd_mask, r->rd_mask)) { in npppd_set_radish() 1740 r->rd_mask, radish_head, &dummy); in npppd_set_radish() 1745 rval = rd_insert(radish->rd_route, radish->rd_mask, in npppd_set_radish() 1764 &SIN(radish->rd_mask)->sin_addr, &loop, in npppd_set_radish() 1776 &SIN(radish->rd_mask)->sin_addr, &loop, in npppd_set_radish() 2237 rd_delete(rd->rd_route, rd->rd_mask, rh, &dummy); in npppd_rd_walktree_delete()
|