HomeSort by relevance Sort by last modified time
    Searched refs:netif (Results 1 - 25 of 84) sorted by null

1 2 3 4

  /external/syslinux/core/lwip/src/include/netif/
slipif.h 37 #include "lwip/netif.h"
43 err_t slipif_init(struct netif * netif);
44 void slipif_poll(struct netif *netif);
etharp.h 44 #include "lwip/netif.h"
161 /** Define this to 1 and define LWIP_ARP_FILTER_NETIF_FN(pbuf, netif, type)
162 * to a filter function that returns the correct netif when using multiple
163 * netifs on one hardware interface where the netif's low-level receive
164 * routine cannot decide for the correct netif (e.g. when mapping multiple
183 s8_t etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr,
185 err_t etharp_output(struct netif *netif, struct pbuf *q, ip_addr_t *ipaddr);
186 err_t etharp_query(struct netif *netif, ip_addr_t *ipaddr, struct pbuf *q)
    [all...]
ppp_oe.h 77 #include "netif/etharp.h"
149 struct netif *sc_ethif; /* ethernet interface we are using */
174 err_t pppoe_create(struct netif *ethif, int pd, void (*linkStatusCB)(int pd, int up), struct pppoe_softc **scptr);
175 err_t pppoe_destroy(struct netif *ifp);
180 void pppoe_disc_input(struct netif *netif, struct pbuf *p);
181 void pppoe_data_input(struct netif *netif, struct pbuf *p);
  /external/syslinux/core/lwip/src/include/lwip/
netif.h 70 /** If set, the netif has broadcast capability.
71 * Set by the netif driver in its init function. */
73 /** If set, the netif is one end of a point-to-point connection.
74 * Set by the netif driver in its init function. */
81 * Either set by the netif driver in its init function (if the link
85 /** If set, the netif is an ethernet device using ARP.
86 * Set by the netif driver in its init function.
89 /** If set, the netif is an ethernet device. It might not use
93 /** If set, the netif has IGMP capability.
94 * Set by the netif driver in its init function. *
136 struct netif { struct
    [all...]
netifapi.h 36 #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 *netif
    [all...]
dhcp.h 11 #include "lwip/netif.h"
108 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp);
109 /** Remove a struct dhcp previously set to the netif using dhcp_set_struct() */
110 #define dhcp_remove_struct(netif) do { (netif)->dhcp = NULL; } while(0)
111 void dhcp_cleanup(struct netif *netif);
113 err_t dhcp_start(struct netif *netif);
    [all...]
snmp.h 45 struct netif;
112 void snmp_add_ifinoctets(struct netif *ni, u32_t value);
113 void snmp_inc_ifinucastpkts(struct netif *ni);
114 void snmp_inc_ifinnucastpkts(struct netif *ni);
115 void snmp_inc_ifindiscards(struct netif *ni);
116 void snmp_add_ifoutoctets(struct netif *ni, u32_t value);
117 void snmp_inc_ifoutucastpkts(struct netif *ni);
118 void snmp_inc_ifoutnucastpkts(struct netif *ni);
119 void snmp_inc_ifoutdiscards(struct netif *ni);
124 void snmp_insert_arpidx_tree(struct netif *ni, ip_addr_t *ip)
    [all...]
  /external/syslinux/core/lwip/src/core/
netif.c 43 #include "lwip/netif.h"
47 #include "netif/etharp.h"
75 struct netif *netif_list;
76 struct netif *netif_default;
79 static struct netif loop_netif;
84 * @param netif the lwip network interface structure for this loopif
89 netif_loopif_init(struct netif *netif)
91 /* initialize the snmp variables and counters inside the struct netif
94 NETIF_INIT_SNMP(netif, snmp_ifType_softwareLoopback, 0)
288 struct netif *netif; local
743 struct netif *netif = netif_list; local
    [all...]
dhcp.c 60 * dhcp_start(struct netif *netif);
64 * Use dhcp_release(netif) to end the lease and use dhcp_stop(netif)
77 #include "lwip/netif.h"
83 #include "netif/etharp.h"
98 #define DHCP_MAX_MSG_LEN(netif) (netif->mtu)
138 static err_t dhcp_discover(struct netif *netif);
335 struct netif *netif = netif_list; local
367 struct netif *netif = netif_list; local
1519 struct netif *netif = (struct netif *)arg; local
    [all...]
  /external/syslinux/core/lwip/src/core/ipv4/
autoip.c 72 #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->autoip->tried_llipaddr:0)
402 struct netif *netif = netif_list; local
    [all...]
ip.c 47 #include "lwip/netif.h"
76 * netif is down.
100 struct netif *current_netif;
121 * @return the netif on which to send to reach dest
123 struct netif *
126 struct netif *netif; local
129 for(netif = netif_list; netif != NULL; netif = netif->next)
162 struct netif *netif; local
245 struct netif *netif; local
751 struct netif *netif; local
790 struct netif *netif; local
    [all...]
igmp.c 90 #include "lwip/netif.h"
138 static struct igmp_group *igmp_lookup_group(struct netif *ifp, ip_addr_t *addr);
144 static err_t igmp_ip_output_if(struct pbuf *p, ip_addr_t *src, ip_addr_t *dest, struct netif *netif);
177 LWIP_DEBUGF(IGMP_DEBUG, (" on if %p\n", group->netif));
189 * @param netif network interface on which start IGMP processing
192 igmp_start(struct netif *netif)
196 LWIP_DEBUGF(IGMP_DEBUG, ("igmp_start: starting IGMP processing on if %p\n", netif));
198 group = igmp_lookup_group(netif, &allsystems)
520 struct netif *netif; local
590 struct netif *netif; local
    [all...]
  /external/syslinux/core/lwip/src/netif/
ethernetif.c 56 #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->hwaddr_len = ETHARP_HWADDR_LEN
    [all...]
slipif.c 35 * This file is built upon the file: src/arch/rtxc/netif/sioslip.c
41 * This is an arch independent SLIP netif. The specific serial hooks must be
45 #include "netif/slipif.h"
85 * @param netif the lwip network interface structure for this slipif
91 slipif_output(struct netif *netif, struct pbuf *p, ip_addr_t *ipaddr)
98 LWIP_ASSERT("netif != NULL", (netif != NULL));
99 LWIP_ASSERT("netif->state != NULL", (netif->state != NULL))
268 struct netif *netif = (struct netif *)nf; local
    [all...]
etharp.c 57 #include "netif/etharp.h"
60 #include "netif/ppp_oe.h"
103 struct netif *netif; member in struct:etharp_entry
125 #define ETHARP_SET_HINT(netif, hint) if (((netif) != NULL) && ((netif)->addr_hint != NULL)) \
126 *((netif)->addr_hint) = (hint);
128 #define ETHARP_SET_HINT(netif, hint) (etharp_cached_entry = (hint))
131 static err_t update_arp_entry(struct netif *netif, ip_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flags)
524 struct netif *netif; local
    [all...]
undiif.c 75 #include "netif/etharp.h"
76 #include "netif/ppp_oe.h"
134 static inline int arp_hdr_len(struct netif *netif)
136 return sizeof(struct arp_hdr) + (netif->hwaddr_len + sizeof(uint32_t))*2;
156 struct netif *netif; member in struct:undiarp_entry
165 static struct netif undi_netif;
180 static inline bool undi_is_ethernet(struct netif *netif)
    [all...]
  /external/syslinux/core/lwip/src/include/ipv4/lwip/
autoip.h 51 #include "lwip/netif.h"
53 #include "netif/etharp.h"
96 void autoip_set_struct(struct netif *netif, struct autoip *autoip);
99 err_t autoip_start(struct netif *netif);
102 err_t autoip_stop(struct netif *netif);
105 void autoip_arp_reply(struct netif *netif, struct etharp_hdr *hdr)
    [all...]
igmp.h 40 #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...]
ip_frag.h 39 #include "lwip/netif.h"
81 err_t ip_frag(struct pbuf *p, struct netif *netif, ip_addr_t *dest);
  /external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
UnixNetworkInterfaceTest.java 39 NetworkInterface netif = netifs.nextElement(); local
40 String name = netif.getName();
41 boolean up = netif.isUp();
48 assertEquals(name + " up should be " + !up, !up, netif.isUp());
53 assertEquals(name + " up should be " + up, up, netif.isUp());
64 NetworkInterface netif = netifs.nextElement(); local
65 String name = netif.getName();
66 boolean multicast = netif.supportsMulticast();
73 !multicast, netif.supportsMulticast());
80 multicast, netif.supportsMulticast())
91 NetworkInterface netif = netifs.nextElement(); local
122 NetworkInterface netif = netifs.nextElement(); local
146 NetworkInterface netif = netifs.nextElement(); local
167 NetworkInterface netif = netifs.nextElement(); local
193 NetworkInterface netif = netifs.nextElement(); local
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/
netifconquery.py 68 for netif in self.policy.netifcons():
70 netif.netif,
75 if not self._match_context(netif.context):
78 yield netif
  /external/syslinux/core/lwip/src/api/
netifapi.c 47 if (!netif_add( msg->netif,
67 netif_set_addr( msg->netif,
83 msg->err = msg->msg.common.errtfunc(msg->netif);
86 msg->msg.common.voidfunc(msg->netif);
98 netifapi_netif_add(struct netif *netif,
108 msg.msg.netif = netif;
126 netifapi_netif_set_addr(struct netif *netif,
    [all...]
  /external/autotest/client/bin/net/
net_tc.py 97 def setup(self, netif):
100 self._leaf_qdisc.setup(netif)
107 def restore(self, netif):
116 self._leaf_qdisc.restore(netif)
187 def _get_tc_conf(self, netif):
191 self._tc_conf[tcfilter.conf_device] = netif.get_name()
205 def setup(self, netif):
209 def restore(self, netif):
230 def setup(self, netif):
231 tc_conf = self._get_tc_conf(netif)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/
netifcon.py 92 self.netif = ocon.netif
99 return self.netif < other.netif
102 return self.netif == other.netif
  /libcore/ojluni/src/main/java/java/net/
InetAddressImpl.java 64 * Whether {@code addr} is reachable over {@code netif}.
66 boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif,

Completed in 1421 milliseconds

1 2 3 4