Lines Matching refs:netif

71 #include "netif/ppp/ppp_opts.h"
84 #include "netif/ethernet.h"
85 #include "netif/ppp/ppp_impl.h"
86 #include "netif/ppp/lcp.h"
87 #include "netif/ppp/ipcp.h"
88 #include "netif/ppp/pppoe.h"
142 static err_t pppoe_send_padt(struct netif *, u_int, const u8_t *);
146 static struct pppoe_softc* pppoe_find_softc_by_session(u_int session, struct netif *rcvif);
147 static struct pppoe_softc* pppoe_find_softc_by_hunique(u8_t *token, size_t len, struct netif *rcvif);
171 ppp_pcb *pppoe_create(struct netif *pppif,
172 struct netif *ethif,
226 MIB2_STATS_NETIF_INC(ppp->netif, ifoutdiscards);
240 MIB2_STATS_NETIF_INC(ppp->netif, ifoutdiscards);
244 MIB2_STATS_NETIF_ADD(ppp->netif, ifoutoctets, (u16_t)tot_len);
245 MIB2_STATS_NETIF_INC(ppp->netif, ifoutucastpkts);
267 MIB2_STATS_NETIF_INC(ppp->netif, ifoutdiscards);
283 MIB2_STATS_NETIF_INC(ppp->netif, ifoutdiscards);
287 MIB2_STATS_NETIF_ADD(ppp->netif, ifoutoctets, tot_len);
288 MIB2_STATS_NETIF_INC(ppp->netif, ifoutucastpkts);
320 static struct pppoe_softc* pppoe_find_softc_by_session(u_int session, struct netif *rcvif) {
335 static struct pppoe_softc* pppoe_find_softc_by_hunique(u8_t *token, size_t len, struct netif *rcvif) {
370 pppoe_disc_input(struct netif *netif, struct pbuf *pb)
458 sc = pppoe_find_softc_by_hunique((u8_t*)pb->payload + off + sizeof(pt), len, netif);
552 sc = pppoe_find_softc_by_hunique(ac_cookie, ac_cookie_len, netif);
649 pppoe_data_input(struct netif *netif, struct pbuf *pb)
683 sc = pppoe_find_softc_by_session(session, netif);
687 pppoe_send_padt(netif, session, shost);
1031 pppoe_send_padt(struct netif *outgoing_if, u_int session, const u8_t *dest)
1159 pppoe_ifattach_hook(void *arg, struct pbuf **mp, struct netif *ifp, int dir)