HomeSort by relevance Sort by last modified time
    Searched defs:netdev (Results 1 - 25 of 45) sorted by null

1 2

  /external/syslinux/gpxe/src/arch/i386/image/
pxe_image.c 47 struct net_device *netdev; local
51 if ( ( netdev = last_opened_netdev() ) == NULL ) {
58 pxe_activate ( netdev );
  /external/syslinux/gpxe/src/arch/i386/interface/pcbios/
aoeboot.c 32 struct net_device *netdev = last_opened_netdev(); local
34 if ( ( rc = aoe_attach ( ata, netdev, root_path ) ) != 0 ) {
iscsiboot.c 44 struct net_device *netdev = last_opened_netdev(); local
47 ibft_fill_data ( netdev, iscsi );
  /external/syslinux/gpxe/src/net/
netdev_settings.c 58 struct net_device *netdev = container_of ( settings, struct net_device, local
62 if ( len != netdev->ll_protocol->ll_addr_len )
64 memcpy ( netdev->ll_addr, data, len );
82 struct net_device *netdev = container_of ( settings, struct net_device, local
84 struct device_description *desc = &netdev->dev->desc;
88 if ( len > netdev->ll_protocol->ll_addr_len )
89 len = netdev->ll_protocol->ll_addr_len;
90 memcpy ( data, netdev->ll_addr, len );
91 return netdev->ll_protocol->ll_addr_len;
ethernet.c 46 * @v netdev Network device
53 static int eth_push ( struct net_device *netdev __unused,
69 * @v netdev Network device
76 static int eth_pull ( struct net_device *netdev __unused,
181 * @ret netdev Network device, or NULL
184 struct net_device *netdev; local
186 netdev = alloc_netdev ( priv_size );
187 if ( netdev ) {
188 netdev->ll_protocol = &ethernet_protocol;
189 netdev->ll_broadcast = eth_broadcast
    [all...]
arp.c 96 * @v netdev Network device
113 int arp_resolve ( struct net_device *netdev, struct net_protocol *net_protocol,
116 struct ll_protocol *ll_protocol = netdev->ll_protocol;
149 netdev->ll_addr, ll_protocol->ll_addr_len );
158 if ( ( rc = net_tx ( iobuf, netdev, &arp_protocol,
159 netdev->ll_broadcast ) ) != 0 )
187 * @v netdev Network device
197 static int arp_rx ( struct io_buffer *iobuf, struct net_device *netdev,
211 ll_protocol = netdev->ll_protocol;
232 if ( arp_net_protocol->check ( netdev, arp_target_pa ( arphdr ) ) != 0
263 net_tx ( iob_disown ( iobuf ), netdev, &arp_protocol, local
    [all...]
ipv6.c 31 struct net_device *netdev; member in struct:ipv6_miniroute
49 * @v netdev Network device
56 add_ipv6_miniroute ( struct net_device *netdev, struct in6_addr prefix,
64 miniroute->netdev = netdev_get ( netdev );
87 netdev_put ( miniroute->netdev );
95 * @v netdev Network device
100 int add_ipv6_address ( struct net_device *netdev, struct in6_addr prefix,
106 del_ipv6_address ( netdev );
109 miniroute = add_ipv6_miniroute ( netdev, prefix, prefix_len, address
    [all...]
ipv4.c 40 * @v netdev Network device
47 add_ipv4_miniroute ( struct net_device *netdev, struct in_addr address,
55 DBG ( "via %s\n", netdev->name );
65 miniroute->netdev = netdev_get ( netdev );
93 DBG ( "via %s\n", miniroute->netdev->name );
95 netdev_put ( miniroute->netdev );
121 if ( ! ( miniroute->netdev->state & NETDEV_OPEN ) )
266 * @v netdev Network device
271 struct net_device *netdev, uint8_t *ll_dest )
587 struct net_device *netdev; local
    [all...]
netdevice.c 59 * @v netdev Network device
61 void netdev_link_down ( struct net_device *netdev ) {
63 switch ( netdev->link_rc ) {
66 netdev->link_rc = -ENOTCONN;
118 * @v netdev Network device
125 int netdev_tx ( struct net_device *netdev, struct io_buffer *iobuf ) {
128 DBGC ( netdev, "NETDEV %p transmitting %p (%p+%zx)\n",
129 netdev, iobuf, iobuf->data, iob_len ( iobuf ) );
131 list_add_tail ( &iobuf->list, &netdev->tx_queue )
309 struct net_device *netdev = local
327 struct net_device *netdev; local
473 struct net_device *netdev; local
492 struct net_device *netdev; local
509 struct net_device *netdev; local
589 struct net_device *netdev; local
    [all...]
  /external/syslinux/gpxe/src/hci/commands/
dhcp_cmd.c 67 struct net_device *netdev; local
91 netdev = find_netdev ( netdev_txt );
92 if ( ! netdev ) {
98 if ( ( rc = dhcp ( netdev ) ) != 0 ) {
99 printf ( "Could not configure %s: %s\n", netdev->name,
134 struct net_device *netdev; local
159 netdev = find_netdev ( netdev_txt );
160 if ( ! netdev ) {
171 if ( ( rc = pxebs ( netdev, pxe_type ) ) != 0 ) {
173 netdev->name, strerror ( rc ) )
    [all...]
ifmgmt_cmd.c 61 struct net_device *netdev; local
65 for_each_netdev ( netdev ) {
66 if ( payload ( netdev ) != 0 )
81 struct net_device *netdev; local
86 netdev = find_netdev ( netdev_name );
87 if ( ! netdev ) {
92 if ( payload ( netdev ) != 0 )
135 static int ifopen_payload ( struct net_device *netdev ) {
136 return ifopen ( netdev );
145 static int ifclose_payload ( struct net_device *netdev ) {
    [all...]
  /external/syslinux/gpxe/src/drivers/net/
legacy.c 26 static int legacy_transmit ( struct net_device *netdev, struct io_buffer *iobuf ) {
27 struct nic *nic = netdev->priv;
37 netdev_tx_complete ( netdev, iobuf );
41 static void legacy_poll ( struct net_device *netdev ) {
42 struct nic *nic = netdev->priv;
53 netdev_rx ( netdev, iobuf );
59 static int legacy_open ( struct net_device *netdev __unused ) {
64 static void legacy_close ( struct net_device *netdev __unused ) {
68 static void legacy_irq ( struct net_device *netdev __unused, int enable ) {
69 struct nic *nic = netdev->priv
87 struct net_device *netdev; local
141 struct net_device *netdev = get_drvdata ( hwdev ); local
    [all...]
pnic.c 117 static void pnic_poll ( struct net_device *netdev ) {
118 struct pnic *pnic = netdev->priv;
134 netdev_rx_err ( netdev, NULL, -ENOMEM );
140 netdev_rx_err ( netdev, iobuf, -EIO );
144 netdev_rx ( netdev, iobuf );
151 static int pnic_transmit ( struct net_device *netdev, struct io_buffer *iobuf ) {
152 struct pnic *pnic = netdev->priv;
161 netdev_tx_complete ( netdev, iobuf );
168 static int pnic_open ( struct net_device *netdev __unused ) {
176 static void pnic_close ( struct net_device *netdev __unused )
206 struct net_device *netdev = pci_get_drvdata ( pci ); local
220 struct net_device *netdev; local
    [all...]
natsemi.c 87 static void natsemi_reset (struct net_device *netdev);
88 static int natsemi_open (struct net_device *netdev);
89 static int natsemi_transmit (struct net_device *netdev, struct io_buffer *iobuf);
90 static void natsemi_poll (struct net_device *netdev);
91 static void natsemi_close (struct net_device *netdev);
92 static void natsemi_irq (struct net_device *netdev, int enable);
173 struct net_device *netdev; local
183 netdev = alloc_etherdev (sizeof (*np));
184 if (! netdev)
187 netdev_init (netdev, &natsemi_operations)
232 struct net_device *netdev = pci_get_drvdata (pci); local
    [all...]
3c90x.c 276 * @v netdev Network device info
278 static void a3c90x_process_tx_packets(struct net_device *netdev)
280 struct INF_3C90X *p = netdev_priv(netdev);
298 netdev_tx_complete(netdev, p->tx_iobuf[p->tx_tail]);
320 * @v netdev Network device info
325 static int a3c90x_transmit(struct net_device *netdev,
328 struct INF_3C90X *inf_3c90x = netdev_priv(netdev);
519 * @v netdev Network device info
521 static void a3c90x_process_rx_packets(struct net_device *netdev)
525 struct INF_3C90X *p = netdev_priv(netdev);
617 struct net_device *netdev = pci_get_drvdata(pci); local
877 struct net_device *netdev; local
    [all...]
eepro100.c 173 struct net_device *netdev; local
182 netdev = alloc_etherdev ( sizeof(*priv) );
183 if ( !netdev )
186 netdev_init ( netdev, &ifec_operations );
187 priv = netdev->priv;
189 pci_set_drvdata ( pci, netdev );
190 netdev->dev = &pci->dev;
200 ifec_reset ( netdev );
203 ifec_init_eeprom ( netdev );
206 nvs_read ( &priv->eeprom.nvs, EEPROM_ADDR_MAC_0, netdev->hw_addr
238 struct net_device *netdev = pci_get_drvdata ( pci ); local
    [all...]
b44.c 350 b44_set_rx_mode(bp->netdev);
574 b44_cam_write(bp, bp->netdev->ll_addr, 0);
597 bp->netdev->hw_addr[0] = eeprom[79];
598 bp->netdev->hw_addr[1] = eeprom[78];
599 bp->netdev->hw_addr[2] = eeprom[81];
600 bp->netdev->hw_addr[3] = eeprom[80];
601 bp->netdev->hw_addr[4] = eeprom[83];
602 bp->netdev->hw_addr[5] = eeprom[82];
609 static void b44_set_rx_mode(struct net_device *netdev)
611 struct b44_private *bp = netdev_priv(netdev);
642 struct net_device *netdev; local
710 struct net_device *netdev = pci_get_drvdata(pci); local
    [all...]
  /external/syslinux/gpxe/src/core/
gdbudp.c 45 static struct net_device *netdev; variable in typeref:struct:net_device
50 static void gdbudp_ensure_netdev_open ( struct net_device *netdev ) {
52 assert ( netdev );
53 netdev_open ( netdev );
66 gdbudp_ensure_netdev_open ( netdev );
69 netdev_poll ( netdev );
70 while ( ( iob = netdev_rx_dequeue ( netdev ) ) != NULL ) {
95 memcpy ( arp_sender_ha ( arphdr ), netdev->ll_addr, ETH_ALEN );
100 memcpy ( ethhdr->h_source, netdev->ll_addr, ETH_ALEN );
102 netdev_tx ( netdev, iob )
    [all...]
  /external/syslinux/gpxe/src/usr/
autoboot.c 48 * @ret netdev Boot network device
128 * @v netdev Network device
131 static int netboot ( struct net_device *netdev ) {
144 if ( ( rc = ifopen ( netdev ) ) != 0 )
146 ifstat ( netdev );
149 if ( ( rc = dhcp ( netdev ) ) != 0 )
163 return pxe_menu_boot ( netdev );
205 struct net_device *netdev; local
207 for_each_netdev ( netdev ) {
208 ifclose ( netdev );
217 struct net_device *netdev; local
    [all...]
  /external/syslinux/gpxe/src/arch/i386/interface/pxe/
pxe_preboot.c 75 * @v netdev Network device
80 int ( * create ) ( struct net_device *netdev, void *data,
267 struct net_device *netdev; local
292 netdev = find_netdev_by_location ( bus_type, location );
293 if ( ! netdev ) {
298 DBG ( " using netdev %s", netdev->name );
301 pxe_activate ( netdev );
  /external/syslinux/gpxe/src/include/gpxe/
ip.h 67 struct net_device *netdev; member in struct:ipv4_miniroute
xfer.h 118 struct net_device *netdev; member in struct:xfer_metadata
aoe.h 113 struct net_device *netdev; member in struct:aoe_session
147 extern int aoe_attach ( struct ata_device *ata, struct net_device *netdev,
  /external/syslinux/gpxe/src/arch/i386/drivers/net/
undinet.c 64 static void undinet_close ( struct net_device *netdev );
164 * @v netdev Network device
168 static int undinet_transmit ( struct net_device *netdev,
208 netdev_tx_complete ( netdev, iobuf );
217 * @v netdev Network device
244 static void undinet_poll ( struct net_device *netdev ) {
245 struct undi_nic *undinic = netdev->priv;
291 netdev_rx_err ( netdev, NULL, -EINVAL );
301 netdev_rx_err ( netdev, NULL, -ENOMEM );
317 netdev_rx ( netdev, iob_disown ( iobuf ) )
465 struct net_device *netdev; local
593 struct net_device *netdev = undi_get_drvdata ( undi ); local
    [all...]
  /external/syslinux/gpxe/src/drivers/net/e1000/
e1000.c 593 * @v netdev network interface device structure
597 e1000_close ( struct net_device *netdev )
599 struct e1000_adapter *adapter = netdev_priv ( netdev );
625 * @v netdev Network device
631 e1000_transmit ( struct net_device *netdev, struct io_buffer *iobuf )
633 struct e1000_adapter *adapter = netdev_priv( netdev );
684 * @v netdev Network device
687 e1000_poll ( struct net_device *netdev )
689 struct e1000_adapter *adapter = netdev_priv( netdev );
728 netdev_tx_complete_err ( netdev, adapter->tx_iobuf[i], -EINVAL )
826 struct net_device *netdev; local
985 struct net_device *netdev = pci_get_drvdata ( pdev ); local
    [all...]

Completed in 417 milliseconds

1 2