Searched refs:net_device (Results 1 - 25 of 36) sorted by relevance

12

/haiku/headers/private/net/
H A Dnet_device.h22 typedef struct net_device { struct
38 } net_device; typedef in typeref:struct:net_device
44 status_t (*init_device)(const char* name, net_device** _device);
45 status_t (*uninit_device)(net_device* device);
47 status_t (*up)(net_device* device);
48 void (*down)(net_device* device);
50 status_t (*control)(net_device* device, int32 op, void* argument,
53 status_t (*send_data)(net_device* device, net_buffer* buffer);
54 status_t (*receive_data)(net_device* device, net_buffer** _buffer);
56 status_t (*set_mtu)(net_device* devic
[all...]
H A Dnet_stack.h22 typedef struct net_device net_device; typedef in typeref:struct:net_device
50 typedef status_t (*net_deframe_func)(net_device* device, net_buffer* buffer);
51 typedef status_t (*net_receive_func)(void* cookie, net_device* device,
117 status_t (*register_device_deframer)(net_device* device,
119 status_t (*unregister_device_deframer)(net_device* device);
121 status_t (*register_domain_device_handler)(net_device* device,
123 status_t (*register_device_handler)(net_device* device,
125 status_t (*unregister_device_handler)(net_device* device, int32 type);
127 status_t (*register_device_monitor)(net_device* devic
[all...]
/haiku/src/add-ons/kernel/network/stack/
H A Ddevice_interfaces.h30 struct net_device* device;
70 status_t unregister_device_deframer(net_device* device);
71 status_t register_device_deframer(net_device* device,
73 status_t register_domain_device_handler(struct net_device* device, int32 type,
75 status_t register_device_handler(struct net_device* device, int32 type,
77 status_t unregister_device_handler(struct net_device* device, int32 type);
78 status_t register_device_monitor(struct net_device* device,
80 status_t unregister_device_monitor(struct net_device* device,
82 status_t device_link_changed(net_device* device);
83 status_t device_removed(net_device* devic
[all...]
H A Ddevice_interfaces.cpp16 #include <net_device.h>
52 net_device* device = interface->device;
100 net_device* device = interface->device;
156 domain_receive_adapter(void* cookie, net_device* device, net_buffer* buffer)
180 allocate_device_interface(net_device* device, net_device_module_info* module)
406 net_device* device = interface->device;
477 net_device* device;
520 net_device* device = interface->device;
573 net_device* device = interface->device;
596 unregister_device_deframer(net_device* devic
[all...]
H A Dnotifications.cpp14 #include <net_device.h>
79 notify_link_changed(net_device* device)
H A Dstack_private.h51 status_t notify_link_changed(net_device* device);
H A Ddomains.cpp15 #include <net_device.h>
H A Dlink.cpp26 #include <net_device.h>
70 static status_t _ReceiveData(void* cookie, net_device* device,
271 LinkProtocol::_ReceiveData(void* cookie, net_device* device, net_buffer* buffer)
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/
H A Dppp_device.h3 #include <net_device.h>
12 struct ppp_device : net_device, DoublyLinkedListLinkImpl<ppp_device> {
H A DKPPPManager.h10 #include <net_device.h>
48 net_device *(*RegisterInterface)(ppp_interface_id ID);
H A DKPPPInterface.h34 #include <net_device.h>
86 net_device *Ifnet() const
266 net_device *fIfnet;
/haiku/src/add-ons/kernel/network/devices/loopback/
H A Dloopback.cpp11 #include <net_device.h>
24 struct loopback_device : net_device {
36 loopback_init(const char *name, net_device **_device)
77 loopback_uninit(net_device *_device)
90 loopback_up(net_device *device)
97 loopback_down(net_device *device)
103 loopback_control(net_device *device, int32 op, void *argument,
111 loopback_send_data(net_device *device, net_buffer *buffer)
118 loopback_set_mtu(net_device *device, size_t mtu)
129 loopback_set_promiscuous(net_device *devic
[all...]
/haiku/src/add-ons/kernel/network/ppp/ppp/
H A Dppp.cpp52 ppp_init(const char *name, net_device **_device)
110 ppp_uninit(net_device *device)
126 ppp_up(net_device *_device)
151 ppp_down(net_device *_device)
172 ppp_control(net_device *_device, int32 op, void *argument,
190 ppp_send_data(net_device *_device, net_buffer *buffer)
219 ppp_receive_data(net_device *_device, net_buffer **_buffer)
242 ppp_set_mtu(net_device *_device, size_t mtu)
256 ppp_set_promiscuous(net_device *_device, bool promiscuous)
263 ppp_set_media(net_device *devic
[all...]
/haiku/src/add-ons/kernel/network/ppp/pppoe/
H A DPPPoEDevice.h31 net_device *EthernetIfnet() const
62 net_device *fEthernetIfnet;
H A DPPPoE.h68 extern net_device *FindPPPoEInterface(const char *name);
H A Dpppoe.cpp32 net_device *ethernetIfnet;
108 net_device*
161 pppoe_input(void *cookie, net_device *_device, net_buffer *packet)
311 net_device *current = NULL; // get_interfaces();
/haiku/src/add-ons/kernel/network/devices/ethernet/
H A Dethernet.cpp14 #include <net_device.h>
33 struct ethernet_device : net_device, DoublyLinkedListLinkImpl<ethernet_device> {
134 ethernet_init(const char *name, net_device **_device)
177 ethernet_uninit(net_device *device)
187 ethernet_up(net_device *_device)
253 ethernet_down(net_device *_device)
271 ethernet_control(net_device *_device, int32 op, void *argument,
282 ethernet_send_data(net_device *_device, net_buffer *buffer)
343 ethernet_receive_data(net_device *_device, net_buffer **_buffer)
404 ethernet_set_mtu(net_device *_devic
[all...]
/haiku/src/add-ons/kernel/network/devices/dialup/
H A Ddialup.cpp11 #include <net_device.h>
45 struct dialup_device : net_device {
196 dialup_init(const char* name, net_device** _device)
246 dialup_uninit(net_device* _device)
258 dialup_up(net_device* _device)
345 dialup_down(net_device* _device)
360 dialup_control(net_device* _device, int32 op, void* argument,
369 dialup_send_data(net_device* _device, net_buffer* buffer)
463 dialup_receive_data(net_device* _device, net_buffer** _buffer)
519 dialup_set_mtu(net_device* _devic
[all...]
/haiku/src/add-ons/kernel/network/devices/tunnel/
H A Dtunnel.cpp20 #include <net_device.h>
43 struct tunnel_device : net_device {
281 tunnel_init(const char* name, net_device** _device)
367 tunnel_uninit(net_device* _device)
395 tunnel_up(net_device* _device)
402 tunnel_down(net_device* _device)
412 tunnel_control(net_device* device, int32 op, void* argument, size_t length)
419 tunnel_send_data(net_device* _device, net_buffer* buffer)
443 tunnel_receive_data(net_device* _device, net_buffer** _buffer)
452 tunnel_set_mtu(net_device* devic
[all...]
/haiku/src/add-ons/kernel/network/datalink_protocols/loopback_frame/
H A Dloopback_frame.cpp12 #include <net_device.h>
35 loopback_deframe(net_device* device, net_buffer* buffer)
/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/
H A Dh2generic.h12 #include <net_device.h>
/haiku/headers/private/bluetooth/
H A DbtCoreData.h18 #include <net_device.h>
/haiku/src/add-ons/kernel/network/datalink_protocols/ethernet_frame/
H A Dethernet_frame.cpp12 #include <net_device.h>
37 ethernet_deframe(net_device* device, net_buffer* buffer)
/haiku/src/add-ons/kernel/network/ppp/ppp_frame/
H A Dppp_frame.cpp29 ppp_deframe(net_device* device, net_buffer* buffer)
/haiku/src/add-ons/kernel/network/ppp/ppp_manager/
H A DKPPPManager.cpp164 static net_device*

Completed in 99 milliseconds

12