Home
last modified time | relevance | path

Searched refs:netif (Results 76 - 100 of 193) sorted by relevance

12345678

/third_party/lwip/src/include/lwip/
H A Dudp.h46 #include "lwip/netif.h"
128 void udp_bind_netif (struct udp_pcb *pcb, const struct netif* netif);
136 struct netif *netif);
139 struct netif *netif, const ip_addr_t *src_ip);
147 struct netif *netif, u8_t have_chksum,
155 const ip_addr_t *dst_ip, u16_t dst_port, struct netif *neti
[all...]
H A Dnetifapi.h3 * netif API (to be used from non-TCPIP threads)
40 #include "lwip/netif.h"
65 err_t netifapi_netif_add(struct netif *netif,
72 err_t netifapi_netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr,
76 err_t netifapi_netif_common(struct netif *netif, netifapi_void_fn voidfunc,
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dnat64.h9 #include "lwip/netif.h"
66 err_t nat64_init(struct netif *ntf);
97 int nat64_ip4_input(struct pbuf *p, struct ip_hdr *iphdr, const struct netif *inp);
115 int nat64_ip6_input(struct pbuf *p, struct ip6_hdr *iphdr, const struct netif *inp);
173 struct netif *nat64_netif_get(void);
183 err_t nat64_deinit_netif(const struct netif *ntf);
189 void nat64_proxy_unsolicited_na(const struct netif *netif);
H A Dudp.h46 #include "lwip/netif.h"
140 struct netif *netif);
143 struct netif *netif, const ip_addr_t *src_ip);
151 struct netif *netif, u8_t have_chksum,
159 const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif,
171 void udp_input (struct pbuf *p, struct netif *in
[all...]
H A Dlwip_rpl.h8 #include "lwip/netif.h"
20 uint8_t lwip_rpl_is_rpl_netif(const struct netif *nif);
21 struct netif *lwip_rpl_route_netif_lookup(const ip6_addr_t *src, const ip6_addr_t *dest);
22 err_t lwip_rpl_get_ra_prefix(const struct netif *nif, ip6_addr_t *prefix);
23 const ip6_addr_t *lwip_rpl_route_nexthop_lookup(struct netif *iface, const ip6_addr_t *ip6addr);
28 err_t ip6_update_rpi(struct pbuf *p, const struct netif *inp);
43 int rpl_context_netif_free(const struct netif *nif);
H A Dtcpip.h46 #include "lwip/netif.h"
71 struct netif;
163 err_t tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn);
164 err_t tcpip_input(struct pbuf *p, struct netif *inp);
167 err_t tcpip_lln_inpkt(struct netif *iface, struct pbuf *p,
171 err_t tcpip_lln_input(struct netif *iface, struct pbuf *p,
H A Dtcp.h824 unsigned char tcp_is_netif_addr_check_success(struct tcp_pcb *pcb, struct netif *netif);
826 void tcpip_flush_on_wake_queue(struct netif *netif, u8_t status);
827 void tcp_ip_flush_pcblist_on_wake_queue(struct netif *netif, struct tcp_pcb *pcb_list, u8_t status);
828 void tcpip_upd_status_to_tcp_pcbs(struct netif *netif, u8_t status);
829 void tcp_ip_event_sendplus_on_wake_queue(struct netif *netif);
[all...]
/third_party/lwip/src/include/netif/
H A Dbridgeif.h3 * lwIP netif implementing an IEEE 802.1D MAC Bridge
40 #include "netif/bridgeif_opts.h"
49 struct netif;
71 /** MAC address of the bridge (cannot use the netif's addresses) */
74 influences memory allocated for netif->state of the bridge netif). */
94 err_t bridgeif_init(struct netif *netif);
95 err_t bridgeif_add_port(struct netif *bridgeif, struct netif *porti
[all...]
H A Dethernet.h4 * To be used in most low-level netif implementations
47 #include "lwip/netif.h"
56 /** Define this to 1 and define LWIP_ARP_FILTER_NETIF_FN(pbuf, netif, type)
57 * to a filter function that returns the correct netif when using multiple
58 * netifs on one hardware interface where the netif's low-level receive
59 * routine cannot decide for the correct netif (e.g. when mapping multiple
66 err_t ethernet_input(struct pbuf *p, struct netif *netif);
67 err_t ethernet_output(struct netif* netif, struc
[all...]
H A Dzepif.h4 * A netif implementing the ZigBee Eencapsulation Protocol (ZEP).
44 #include "netif/lowpan6.h"
48 #include "lwip/netif.h"
57 * of this netif. If NULL is passed, default behaviour is chosen */
67 /** If != NULL, the udp pcb is bound to this netif */
68 const struct netif *zep_netif;
73 err_t zepif_init(struct netif *netif);
/third_party/lwip/src/include/netif/ppp/
H A Dpppoe.h70 #include "netif/ppp/ppp_opts.h"
145 struct netif *sc_ethif; /* ethernet interface we are using */
169 ppp_pcb *pppoe_create(struct netif *pppif,
170 struct netif *ethif,
178 void pppoe_disc_input(struct netif *netif, struct pbuf *p);
179 void pppoe_data_input(struct netif *netif, struct pbuf *p);
H A Dpppol2tp.h34 #include "netif/ppp/ppp_opts.h"
172 struct netif *netif; /* Output interface, used as a default route */ member
199 ppp_pcb *pppol2tp_create(struct netif *pppif,
200 struct netif *netif, const ip_addr_t *ipaddr, u16_t port,
/third_party/lwip/src/core/ipv4/
H A Dip4_addr.c44 #include "lwip/netif.h"
54 * @param netif the network interface against which the address is checked
58 ip4_addr_isbroadcast_u32(u32_t addr, const struct netif *netif) in ip4_addr_isbroadcast_u32() argument
68 } else if ((netif->flags & NETIF_FLAG_BROADCAST) == 0) { in ip4_addr_isbroadcast_u32()
73 } else if (addr == ip4_addr_get_u32(netif_ip4_addr(netif))) { in ip4_addr_isbroadcast_u32()
76 } else if (ip4_addr_netcmp(&ipaddr, netif_ip4_addr(netif), netif_ip4_netmask(netif)) in ip4_addr_isbroadcast_u32()
78 && ((addr & ~ip4_addr_get_u32(netif_ip4_netmask(netif))) == in ip4_addr_isbroadcast_u32()
79 (IPADDR_BROADCAST & ~ip4_addr_get_u32(netif_ip4_netmask(netif))))) { in ip4_addr_isbroadcast_u32()
[all...]
H A Dicmp.c77 * @param inp the netif on which this packet was received
80 icmp_input(struct pbuf *p, struct netif *inp) in icmp_input()
347 struct netif *netif; in icmp_send_response() local
392 netif = ip4_route_src(&iphdr_dst, &iphdr_src, get_root_net_group()); in icmp_send_response()
394 netif = ip4_route_src(&iphdr_dst, &iphdr_src); in icmp_send_response()
399 netif = ip4_route(&iphdr_src, get_root_net_group()); in icmp_send_response()
401 netif = ip4_route(&iphdr_src); in icmp_send_response()
404 if (netif != NULL) { in icmp_send_response()
408 IF__NETIF_CHECKSUM_ENABLED(netif, NETIF_CHECKSUM_GEN_ICM in icmp_send_response()
[all...]
/third_party/lwip/test/unit/udp/
H A Dtest_udp.c17 static struct netif test_netif1, test_netif2;
38 default_netif_output(struct netif *netif, struct pbuf *p, const ip4_addr_t *ipaddr) in default_netif_output() argument
40 fail_unless((netif == &test_netif1) || (netif == &test_netif2)); in default_netif_output()
48 default_netif_linkoutput(struct netif *netif, struct pbuf *p) in default_netif_linkoutput() argument
50 fail_unless((netif == &test_netif1) || (netif == &test_netif2)); in default_netif_linkoutput()
57 default_netif_init(struct netif *neti argument
[all...]
/third_party/lwip/test/unit/ip6/
H A Dtest_ip6.c16 static struct netif test_netif6;
20 default_netif_linkoutput(struct netif *netif, struct pbuf *p) in default_netif_linkoutput() argument
22 fail_unless(netif == &test_netif6); in default_netif_linkoutput()
29 default_netif_init(struct netif *netif) in default_netif_init() argument
31 fail_unless(netif != NULL); in default_netif_init()
32 netif->linkoutput = default_netif_linkoutput; in default_netif_init()
33 netif->output_ip6 = ethip6_output; in default_netif_init()
34 netif in default_netif_init()
[all...]
/third_party/lwip/test/unit/tcp/
H A Dtcp_helper.c254 void test_tcp_input(struct pbuf *p, struct netif *inp) in test_tcp_input()
274 static err_t test_tcp_netif_output(struct netif *netif, struct pbuf *p, in test_tcp_netif_output() argument
277 struct test_tcp_txcounters *txcounters = (struct test_tcp_txcounters*)netif->state; in test_tcp_netif_output()
299 void test_tcp_init_netif(struct netif *netif, struct test_tcp_txcounters *txcounters, in test_tcp_init_netif() argument
302 struct netif *n; in test_tcp_init_netif()
303 memset(netif, 0, sizeof(struct netif)); in test_tcp_init_netif()
306 netif in test_tcp_init_netif()
[all...]
/third_party/lwip/src/netif/ppp/
H A Dpppos.c34 #include "netif/ppp/ppp_opts.h"
44 #include "lwip/netif.h"
50 #include "netif/ppp/ppp_impl.h"
51 #include "netif/ppp/pppos.h"
52 #include "netif/ppp/vj.h"
174 ppp_pcb *pppos_create(struct netif *pppif, pppos_output_cb_fn output_cb, in pppos_create()
215 PPPDEBUG(LOG_WARNING, ("pppos_write[%d]: alloc fail\n", ppp->netif->num)); in pppos_write()
218 MIB2_STATS_NETIF_INC(ppp->netif, ifoutdiscards); in pppos_write()
243 PPPDEBUG(LOG_INFO, ("pppos_write[%d]: len=%d\n", ppp->netif->num, p->len)); in pppos_write()
245 PPPDEBUG(LOG_WARNING, ("pppos_write[%d]: output failed len=%d\n", ppp->netif in pppos_write()
[all...]
H A Dmppe.c26 #include "netif/ppp/ppp_opts.h"
33 #include "netif/ppp/ppp_impl.h"
34 #include "netif/ppp/ccp.h"
35 #include "netif/ppp/mppe.h"
36 #include "netif/ppp/pppdebug.h"
37 #include "netif/ppp/pppcrypt.h"
127 pcb->netif->num)); in mppe_init()
144 debugstr, pcb->netif->num, (state->keylen == 16) ? 128 : 40, in mppe_init()
153 debugstr, pcb->netif->num, mkey, skey)); in mppe_init()
224 PPPDEBUG(LOG_DEBUG, ("mppe_compress[%d]: ccount %d\n", pcb->netif in mppe_compress()
[all...]
H A Dpppoe.c71 #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 *pppi
370 pppoe_disc_input(struct netif *netif, struct pbuf *pb) pppoe_disc_input() argument
649 pppoe_data_input(struct netif *netif, struct pbuf *pb) pppoe_data_input() argument
[all...]
/third_party/lwip/test/unit/etharp/
H A Dtest_etharp.c5 #include "netif/ethernet.h"
16 static struct netif test_netif;
36 default_netif_linkoutput(struct netif *netif, struct pbuf *p) in default_netif_linkoutput() argument
38 fail_unless(netif == &test_netif); in default_netif_linkoutput()
45 default_netif_init(struct netif *netif) in default_netif_init() argument
47 fail_unless(netif != NULL); in default_netif_init()
48 netif->linkoutput = default_netif_linkoutput; in default_netif_init()
49 netif in default_netif_init()
[all...]
/device/qemu/arm_mps2_an386/liteos_m/board/driver/net/
H A Dlan9118_eth_drv.h37 #include <lwip/netif.h>
499 * @param netif a pre-allocated netif structure
503 err_t Lan9118LinkOut(struct netif* netif, struct pbuf* buf);
522 * @param netif the already initialized lwip network interface structure
525 void LowLevelInit(struct netif* netif);
532 err_t EthernetifInit(struct netif* netif);
[all...]
H A Dlan9118_eth_drv.c39 static struct netif g_NetIf;
274 * as it is already kept in the struct netif.
1084 err_t Lan9118LinkOut(struct netif* netif, struct pbuf* buf) in Lan9118LinkOut() argument
1135 void LowLevelInit(struct netif* netif) in LowLevelInit() argument
1140 netif->hwaddr_len = ETHARP_HWADDR_LEN; in LowLevelInit()
1143 netif->mtu = LAN9118_ETH_MTU_SIZE; in LowLevelInit()
1146 ret = lan9118_read_mac_address(g_dev, (char*)netif->hwaddr); in LowLevelInit()
1153 netif in LowLevelInit()
1169 EthernetifInit(struct netif* netif) EthernetifInit() argument
[all...]
/third_party/lwip/src/include/lwip/priv/
H A Dapi_msg.h239 typedef void (*netifapi_void_fn)(struct netif *netif);
240 typedef err_t (*netifapi_errt_fn)(struct netif *netif);
244 struct netif *netif; member
H A Dnd6_priv.h53 #include "lwip/netif.h"
73 struct netif *netif; member
102 struct netif *netif; member

Completed in 14 milliseconds

12345678