Searched refs:mru (Results 1 – 10 of 10) sorted by relevance
/external/ppp/pppd/plugins/pppoatm/ |
D | pppoatm.c | 150 qos.txtp.max_sdu = lcp_allowoptions[0].mru + pppoatm_overhead(); in connect_pppoatm() 151 qos.rxtp.max_sdu = lcp_wantoptions[0].mru + pppoatm_overhead(); in connect_pppoatm() 159 pppoatm_max_mtu = lcp_allowoptions[0].mru; in connect_pppoatm() 160 pppoatm_max_mru = lcp_wantoptions[0].mru; in connect_pppoatm() 191 static void recv_config_pppoa(int mru, in recv_config_pppoa() argument 196 if (mru > pppoatm_max_mru) in recv_config_pppoa() 197 error("Couldn't increase MRU to %d", mru); in recv_config_pppoa()
|
/external/ppp/pppd/ |
D | lcp.c | 121 { "mru", o_int, &lcp_wantoptions[0].mru, 131 { "mtu", o_int, &lcp_allowoptions[0].mru, 351 wo->mru = DEFMRU; 359 ao->mru = MAXMRU; 664 return (LENCISHORT(go->neg_mru && go->mru != DEFMRU) + 739 ADDCISHORT(CI_MRU, go->neg_mru && go->mru != DEFMRU, go->mru); 888 ACKCISHORT(CI_MRU, go->neg_mru && go->mru != DEFMRU, go->mru); 1041 if (go->neg_mru && go->mru != DEFMRU) { 1043 if (cishort <= wo->mru || cishort <= DEFMRU) 1044 try.mru = cishort; [all …]
|
D | multilink.c | 88 wo->mrru = wo->mru; in mp_check_options() 91 ao->mrru = ao->mru; in mp_check_options() 131 mtu = ho->neg_mru? ho->mru: PPP_MRU; in mp_join_bundle() 132 if (mtu > ao->mru) in mp_join_bundle() 133 mtu = ao->mru; in mp_join_bundle() 184 mtu = MIN(ho->mrru, ao->mru); in mp_join_bundle()
|
D | lcp.h | 89 int mru; /* Value of MRU */ member
|
D | demand.c | 97 netif_set_mtu(0, MIN(lcp_allowoptions[0].mru, PPP_MRU)); in demand_conf()
|
D | sys-solaris.c | 1589 tty_recv_config(mru, asyncmap, pcomp, accomp) in tty_recv_config() argument 1590 int mru; in tty_recv_config() 1596 link_mru = mru; 1597 if (strioctl(pppfd, PPPIO_MRU, &mru, sizeof(mru), 0) < 0) {
|
D | main.c | 1096 ppp_recv_config(unit, mru, accm, pcomp, accomp) in ppp_recv_config() argument 1097 int unit, mru; in ppp_recv_config() 1106 (*the_channel->recv_config)(mru, accm, pcomp, accomp);
|
D | sys-linux.c | 1234 void tty_recv_config(int mru, u_int32_t asyncmap, int pcomp, int accomp) in tty_recv_config() argument 1245 if (ioctl(ppp_fd, PPPIOCSMRU, (caddr_t) &mru) < 0) { in tty_recv_config() 1250 && ioctl(ppp_dev_fd, PPPIOCSMRU, (caddr_t) &mru) < 0) in tty_recv_config()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | plugin.c | 213 PPPOERecvConfig(int mru, in PPPOERecvConfig() argument 218 if (mru > MAX_PPPOE_MTU) in PPPOERecvConfig() 219 warn("Couldn't increase MRU to %d", mru); in PPPOERecvConfig()
|
/external/ppp/pppd/include/net/ |
D | ppp-comp.h | 82 int unit, int hdrlen, int mru, int debug));
|