Searched refs:netif (Results 1 - 25 of 108) sorted by relevance

12345

/vbox/src/VBox/Devices/Network/lwip/src/include/netif/
H A Dloopif.h35 #include "lwip/netif.h"
37 err_t loopif_init(struct netif *netif);
H A Dslipif.h37 #include "lwip/netif.h"
39 err_t slipif_init(struct netif * netif);
H A Detharp.h44 #include "lwip/netif.h"
119 s8_t etharp_find_addr(struct netif *netif, struct ip_addr *ipaddr,
121 void etharp_ip_input(struct netif *netif, struct pbuf *p);
122 void etharp_arp_input(struct netif *netif, struct eth_addr *ethaddr,
124 err_t etharp_output(struct netif *netif, struct ip_addr *ipaddr,
126 err_t etharp_query(struct netif *neti
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/include/netif/
H A Dslipif.h38 #include "lwip/netif.h"
68 err_t slipif_init(struct netif * netif);
69 void slipif_poll(struct netif *netif);
71 void slipif_process_rxqueue(struct netif *netif);
72 void slipif_received_byte(struct netif *netif, u8_t data);
73 void slipif_received_bytes(struct netif *neti
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dnetif.h51 /** TODO: define the use (where, when, whom) of netif flags */
58 /** if set, the netif has broadcast capability */
60 /** if set, the netif is one end of a point-to-point connection */
72 struct netif { struct
74 struct netif *next;
83 err_t (* input)(struct pbuf *p, struct netif *inp);
87 err_t (* output)(struct netif *netif, struct pbuf *p,
92 err_t (* linkoutput)(struct netif *netif, struc
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dnetif.c43 #include "lwip/netif.h"
47 struct netif *netif_list = NULL;
48 struct netif *netif_default = NULL;
53 * @param netif a pre-allocated netif structure
54 * @param ipaddr IP address for the new netif
55 * @param netmask network mask for the new netif
56 * @param gw default gateway IP address for the new netif
57 * @param state opaque data passed to the new netif
62 * @return netif, o
65 netif_add(struct netif *netif, struct ip_addr *ipaddr, struct ip_addr *netmask, struct ip_addr *gw, void *state, err_t (* init)(struct netif *netif), err_t (* input)(struct pbuf *p, struct netif *netif)) argument
111 netif_set_addr(struct netif *netif,struct ip_addr *ipaddr, struct ip_addr *netmask, struct ip_addr *gw) argument
119 netif_remove(struct netif * netif) argument
153 struct netif *netif; local
175 netif_set_ipaddr(struct netif *netif, struct ip_addr *ipaddr) argument
235 netif_set_gw(struct netif *netif, struct ip_addr *gw) argument
247 netif_set_netmask(struct netif *netif, struct ip_addr *netmask) argument
262 netif_set_default(struct netif *netif) argument
288 netif_set_up(struct netif *netif) argument
299 netif_is_up(struct netif *netif) argument
312 netif_set_down(struct netif *netif) argument
[all...]
H A Ddhcp.c62 * dhcp_start(struct netif *netif);
66 * Use dhcp_release(netif) to end the lease and use dhcp_stop(netif)
77 #include "lwip/netif.h"
79 #include "netif/etharp.h"
93 static void dhcp_handle_ack(struct netif *netif);
94 static void dhcp_handle_nak(struct netif *netif);
146 dhcp_handle_nak(struct netif *netif) argument
163 dhcp_check(struct netif *netif) argument
188 dhcp_handle_offer(struct netif *netif) argument
215 dhcp_select(struct netif *netif) argument
276 struct netif *netif = netif_list; local
308 struct netif *netif = netif_list; local
339 dhcp_timeout(struct netif *netif) argument
393 dhcp_t1_timeout(struct netif *netif) argument
409 dhcp_t2_timeout(struct netif *netif) argument
424 dhcp_handle_ack(struct netif *netif) argument
522 dhcp_start(struct netif *netif) argument
579 dhcp_inform(struct netif *netif) argument
640 dhcp_arp_reply(struct netif *netif, struct ip_addr *addr) argument
664 dhcp_decline(struct netif *netif) argument
711 dhcp_discover(struct netif *netif) argument
766 dhcp_bind(struct netif *netif) argument
828 dhcp_renew(struct netif *netif) argument
883 dhcp_rebind(struct netif *netif) argument
936 dhcp_release(struct netif *netif) argument
989 dhcp_stop(struct netif *netif) argument
1161 struct netif *netif = (struct netif *)arg; local
1260 dhcp_create_request(struct netif *netif) argument
1303 dhcp_delete_request(struct netif *netif) argument
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dnetif.c44 #include "lwip/netif.h"
48 #include "netif/etharp.h"
82 struct netif *netif_list;
83 struct netif *netif_default;
88 static err_t netif_null_output_ip6(struct netif *netif, struct pbuf *p, ip6_addr_t *ipaddr);
92 #define ipX_input(in, netif) (IP6H_V((const struct ip6_hdr *)in->payload) == 6) ? ip6_input(in, netif) : ip_input(in, netif)
94 #define ipX_input(in, netif) ip_inpu
114 netif_loopif_init(struct netif *netif) argument
174 netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, ip_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input) argument
280 netif_set_addr(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, ip_addr_t *gw) argument
294 netif_remove(struct netif *netif) argument
355 struct netif *netif; local
386 netif_set_ipaddr(struct netif *netif, ip_addr_t *ipaddr) argument
451 netif_set_gw(struct netif *netif, ip_addr_t *gw) argument
472 netif_set_netmask(struct netif *netif, ip_addr_t *netmask) argument
493 netif_set_default(struct netif *netif) argument
516 netif_set_up(struct netif *netif) argument
563 netif_set_down(struct netif *netif) argument
584 netif_set_status_callback(struct netif *netif, netif_status_callback_fn status_callback) argument
597 netif_set_remove_callback(struct netif *netif, netif_status_callback_fn remove_callback) argument
663 netif_set_link_callback(struct netif *netif, netif_status_callback_fn link_callback) argument
686 netif_loop_output(struct netif *netif, struct pbuf *p) argument
766 netif_loop_output_ipv4(struct netif *netif, struct pbuf *p, ip_addr_t* addr) argument
774 netif_loop_output_ipv6(struct netif *netif, struct pbuf *p, ip6_addr_t* addr) argument
789 netif_poll(struct netif *netif) argument
862 struct netif *netif = netif_list; local
875 netif_matches_ip6_addr(struct netif * netif, ip6_addr_t * ip6addr) argument
888 netif_create_ip6_linklocal_address(struct netif * netif, u8_t from_mac_48bit) argument
935 netif_null_output_ip6(struct netif *netif, struct pbuf *p, ip6_addr_t *ipaddr) argument
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dnetif.h74 /** If set, the netif has broadcast capability.
75 * Set by the netif driver in its init function. */
77 /** If set, the netif is one end of a point-to-point connection.
78 * Set by the netif driver in its init function. */
85 * Either set by the netif driver in its init function (if the link
89 /** If set, the netif is an ethernet device using ARP.
90 * Set by the netif driver in its init function.
93 /** If set, the netif is an ethernet device. It might not use
97 /** If set, the netif has IGMP capability.
98 * Set by the netif drive
157 struct netif { struct
[all...]
H A Dnetifapi.h36 #include "lwip/netif.h"
44 typedef void (*netifapi_void_fn)(struct netif *netif);
45 typedef err_t (*netifapi_errt_fn)(struct netif *netif);
52 struct netif *netif; member in struct:netifapi_msg_msg
76 err_t netifapi_netif_add ( struct netif *netif,
84 err_t netifapi_netif_set_addr ( struct netif *neti
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ipv4/
H A Dautoip.c72 #include "lwip/netif.h"
74 #include "netif/etharp.h"
87 /** Pseudo random macro based on netif informations.
90 #define LWIP_AUTOIP_RAND(netif) ( (((u32_t)((netif->hwaddr[5]) & 0xff) << 24) | \
91 ((u32_t)((netif->hwaddr[3]) & 0xff) << 16) | \
92 ((u32_t)((netif->hwaddr[2]) & 0xff) << 8) | \
93 ((u32_t)((netif->hwaddr[4]) & 0xff))) + \
94 (netif->autoip?netif
133 autoip_set_struct(struct netif *netif, struct autoip *autoip) argument
150 autoip_restart(struct netif *netif) argument
160 autoip_handle_arp_conflict(struct netif *netif) argument
196 autoip_create_addr(struct netif *netif, ip_addr_t *ipaddr) argument
229 autoip_arp_probe(struct netif *netif) argument
242 autoip_arp_announce(struct netif *netif) argument
255 autoip_bind(struct netif *netif) argument
285 autoip_start(struct netif *netif) argument
333 autoip_start_probing(struct netif *netif) argument
367 autoip_network_changed(struct netif *netif) argument
381 autoip_stop(struct netif *netif) argument
394 struct netif *netif = netif_list; local
478 autoip_arp_reply(struct netif *netif, struct etharp_hdr *hdr) argument
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/netif/
H A Dethernetif.c47 #include "netif/etharp.h"
61 static void ethernetif_input(struct netif *netif);
62 static err_t ethernetif_output(struct netif *netif, struct pbuf *p,
66 low_level_init(struct netif *netif) argument
68 struct ethernetif *ethernetif = netif->state;
71 netif->hwaddr_len = 6;
74 netif
97 low_level_output(struct netif *netif, struct pbuf *p) argument
137 low_level_input(struct netif *netif) argument
198 ethernetif_output(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) argument
218 ethernetif_input(struct netif *netif) argument
282 ethernetif_init(struct netif *netif) argument
[all...]
H A Dslipif.c29 * This file is built upon the file: src/arch/rtxc/netif/sioslip.c
35 * This is an arch independent SLIP netif. The specific serial hooks must be
39 #include "netif/slipif.h"
60 slipif_output(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) argument
67 sio_send(SLIP_END, netif->state);
74 sio_send(SLIP_ESC, netif->state);
75 sio_send(SLIP_ESC_END, netif->state);
78 sio_send(SLIP_ESC, netif->state);
79 sio_send(SLIP_ESC_ESC, netif
99 slipif_input(struct netif *netif) argument
181 struct netif *netif = (struct netif *)nf; local
196 slipif_init(struct netif *netif) argument
[all...]
H A Dloopif.c36 #include "netif/loopif.h"
40 #include "netif/tcpdump.h"
49 struct netif *netif = (struct netif *)( ((void **)arg)[ 0 ] ); local
53 netif -> input( r, netif );
57 loopif_output(struct netif *netif, struct pbuf *p, argument
82 arg[0] = netif;
101 loopif_init(struct netif *netif) argument
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/include/ipv4/lwip/
H A Dautoip.h51 #include "lwip/netif.h"
53 #include "netif/etharp.h"
95 void autoip_set_struct(struct netif *netif, struct autoip *autoip);
97 /** Remove a struct autoip previously set to the netif using autoip_set_struct() */
98 #define autoip_remove_struct(netif) do { (netif)->autoip = NULL; } while (0)
101 err_t autoip_start(struct netif *netif);
104 err_t autoip_stop(struct netif *neti
[all...]
H A Digmp.h40 #include "lwip/netif.h"
55 /* MAC Filter Actions, these are passed to a netif's
76 struct netif *netif; member in struct:igmp_group
91 err_t igmp_start(struct netif *netif);
92 err_t igmp_stop(struct netif *netif);
93 void igmp_report_groups(struct netif *netif);
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/core/ipv4/
H A Dip_addr.c35 #include "lwip/netif.h"
47 * @param netif the network interface against which the address is checked
52 u8_t ip_addr_isbroadcast(struct ip_addr *addr, struct netif *netif) argument
62 else if ((netif->flags & NETIF_FLAG_BROADCAST) == 0)
67 else if (addr2test == netif->ip_addr.addr)
70 else if (ip_addr_netcmp(addr, &(netif->ip_addr), &(netif->netmask))
72 && ((addr2test & ~netif->netmask.addr) ==
73 (IP_ADDR_BROADCAST_VALUE & ~netif
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/include/ipv6/lwip/
H A Dethip6.h52 #include "lwip/netif.h"
60 err_t ethip6_output(struct netif *netif, struct pbuf *q, ip6_addr_t *ip6addr);
H A Dmld6.h51 #include "lwip/netif.h"
62 struct netif *netif; member in struct:mld_group
96 /* MAC Filter Actions, these are passed to a netif's
103 err_t mld6_stop(struct netif *netif);
104 void mld6_report_groups(struct netif *netif);
106 struct mld_group *mld6_lookfor_group(struct netif *ifp, ip6_addr_t *addr);
107 void mld6_input(struct pbuf *p, struct netif *in
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/
H A Dethernetif.c56 #include "netif/etharp.h"
57 #include "netif/ppp_oe.h"
66 * as it is already kept in the struct netif.
75 static void ethernetif_input(struct netif *netif);
81 * @param netif the already initialized lwip network interface structure
85 low_level_init(struct netif *netif)
87 struct ethernetif *ethernetif = netif->state;
90 netif
[all...]
H A Dslipif.c35 * This file is built upon the file: src/arch/rtxc/netif/sioslip.c
40 * Usage: This netif can be used in three ways:
44 * completed packets are fed into netif->input().
54 * This is an arch independent SLIP netif. The specific serial hooks must be
58 #include "netif/slipif.h"
75 /** Maximum packet size that is received by this netif */
109 * @param netif the lwip network interface structure for this slipif
114 slipif_output(struct netif *netif, struct pbuf *p) argument
121 LWIP_ASSERT("netif !
169 slipif_output_v4(struct netif *netif, struct pbuf *p, ip_addr_t *ipaddr) argument
187 slipif_output_v6(struct netif *netif, struct pbuf *p, ip6_addr_t *ipaddr) argument
203 slipif_rxbyte(struct netif *netif, u8_t c) argument
300 slipif_rxbyte_input(struct netif *netif, u8_t c) argument
323 struct netif *netif = (struct netif *)nf; local
351 slipif_init(struct netif *netif) argument
416 slipif_poll(struct netif *netif) argument
438 slipif_process_rxqueue(struct netif *netif) argument
476 slipif_rxbyte_enqueue(struct netif *netif, u8_t data) argument
515 slipif_received_byte(struct netif *netif, u8_t data) argument
533 slipif_received_bytes(struct netif *netif, u8_t *data, u8_t len) argument
[all...]
/vbox/src/VBox/NetworkServices/NAT/
H A Dpxremap.c36 #include "lwip/netif.h"
37 #include "netif/etharp.h" /* proxy arp hook */
50 proxy_ip4_is_mapped_loopback(struct netif *netif, const ip_addr_t *dst, ip_addr_t *lo) argument
62 if (!ip_addr_netcmp(dst, &netif->ip_addr, &netif->netmask)) {
66 /* XXX: TODO: check netif is a proxying netif! */
68 off = ntohl(ip4_addr_get_u32(dst) & ~ip4_addr_get_u32(&netif->netmask));
88 pxremap_proxy_arp(struct netif *neti argument
100 pxremap_ip4_divert(struct netif *netif, ip_addr_t *dst) argument
116 struct netif *netif; local
146 struct netif *netif; local
188 proxy_ip6_is_mapped_loopback(struct netif *netif, ip6_addr_t *dst) argument
219 pxremap_proxy_na(struct netif *netif, ip6_addr_t *dst) argument
230 pxremap_ip6_divert(struct netif *netif, ip6_addr_t *dst) argument
246 struct netif *netif; local
291 struct netif *netif; local
[all...]
H A Dpxremap.h24 struct netif;
33 int pxremap_proxy_arp(struct netif *netif, ip_addr_t *dst);
35 int pxremap_ip4_divert(struct netif *netif, ip_addr_t *dst);
40 int pxremap_proxy_na(struct netif *netif, ip6_addr_t *dst);
41 int pxremap_ip6_divert(struct netif *netif, ip6_addr_t *dst);
/vbox/src/VBox/Devices/Network/lwip/src/include/ipv4/lwip/
H A Dip_frag.h39 #include "lwip/netif.h"
45 err_t ip_frag(struct pbuf *p, struct netif *netif, struct ip_addr *dest);
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ipv6/
H A Dmld6.c56 #include "lwip/netif.h"
79 static struct mld_group * mld6_new_group(struct netif *ifp, ip6_addr_t *addr);
88 * @param netif network interface on which stop MLD processing
91 mld6_stop(struct netif *netif) argument
101 if (group->netif == netif) {
111 if (netif->mld_mac_filter != NULL) {
112 netif->mld_mac_filter(netif,
132 mld6_report_groups(struct netif *netif) argument
330 struct netif *netif; local
356 mld6_netif_joingroup(struct netif *netif, ip6_addr_t *groupaddr) argument
398 struct netif *netif; local
424 mld6_netif_leavegroup(struct netif *netif, ip6_addr_t *groupaddr) argument
[all...]

Completed in 131 milliseconds

12345