Home
last modified time | relevance | path

Searched refs:poer (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c249 poer_t poer; in handle_ip_route_add() local
265 if (ttype == POETT_RTEADD && tlen >= sizeof (poer) && in handle_ip_route_add()
278 (void) memcpy(&poer, POET_DATA(tagp), sizeof (poer)); in handle_ip_route_add()
280 poer.poer_dest_network, poer.poer_subnet_mask, in handle_ip_route_add()
281 poer.poer_gateway, (int)poer.poer_metric); in handle_ip_route_add()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoec.c452 poer_t poer; in display_pppoe() local
547 if (tlen != sizeof (poer)) { in display_pppoe()
551 (void) memcpy(&poer, dp, sizeof (poer)); in display_pppoe()
553 if (poer.poer_dest_network == 0) in display_pppoe()
556 (void) fputs(ihost(poer.poer_dest_network), in display_pppoe()
558 mask = ntohl(poer.poer_subnet_mask); in display_pppoe()
566 ihost(poer.poer_subnet_mask)); in display_pppoe()
569 ihost(poer.poer_gateway), ntohl(poer.poer_metric)); in display_pppoe()