Home
last modified time | relevance | path

Searched refs:wg_device (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/net/wireguard/
Dpeer.h19 struct wg_device;
38 struct wg_device *device;
69 struct wg_peer *wg_peer_create(struct wg_device *wg,
81 void wg_peer_remove_all(struct wg_device *wg);
Dsocket.h14 int wg_socket_init(struct wg_device *wg, u16 port);
15 void wg_socket_reinit(struct wg_device *wg, struct sock *new4,
21 int wg_socket_send_buffer_as_reply_to_skb(struct wg_device *wg,
Ddevice.c34 struct wg_device *wg = netdev_priv(dev); in wg_open()
65 struct wg_device *wg; in wg_pm_notification()
97 struct wg_device *wg; in wg_vm_notification()
115 struct wg_device *wg = netdev_priv(dev); in wg_stop()
137 struct wg_device *wg = netdev_priv(dev); in wg_xmit()
243 struct wg_device *wg = netdev_priv(dev); in wg_destruct()
276 struct wg_device *wg = netdev_priv(dev); in wg_setup()
312 struct wg_device *wg = netdev_priv(dev); in wg_newlink()
409 .priv_size = sizeof(struct wg_device),
416 struct wg_device *wg; in wg_netns_pre_exit()
Dcookie.h20 struct wg_device *device;
42 struct wg_device *wg);
57 struct wg_device *wg);
Dnoise.h92 struct wg_device;
124 struct wg_device *wg);
130 struct wg_device *wg);
Ddevice.h21 struct wg_device;
40 struct wg_device { struct
Dqueueing.h16 struct wg_device;
31 void wg_packet_receive(struct wg_device *wg, struct sk_buff *skb);
42 void wg_packet_send_handshake_cookie(struct wg_device *wg,
Dsocket.c20 static int send4(struct wg_device *wg, struct sk_buff *skb, in send4()
97 static int send6(struct wg_device *wg, struct sk_buff *skb, in send6()
203 int wg_socket_send_buffer_as_reply_to_skb(struct wg_device *wg, in wg_socket_send_buffer_as_reply_to_skb()
318 struct wg_device *wg; in wg_receive()
349 int wg_socket_init(struct wg_device *wg, u16 port) in wg_socket_init()
419 void wg_socket_reinit(struct wg_device *wg, struct sock *new4, in wg_socket_reinit()
Dnetlink.c52 static struct wg_device *lookup_interface(struct nlattr **attrs, in lookup_interface()
97 struct wg_device *wg;
201 struct wg_device *wg; in wg_get_device_start()
214 struct wg_device *wg = ctx->wg; in wg_get_device_dump()
314 static int set_port(struct wg_device *wg, u16 port) in set_port()
357 static int set_peer(struct wg_device *wg, struct nlattr **attrs) in set_peer()
496 struct wg_device *wg = lookup_interface(info->attrs, skb); in wg_set_device()
Dreceive.c54 static int prepare_skb_header(struct sk_buff *skb, struct wg_device *wg) in prepare_skb_header()
99 static void wg_receive_handshake_packet(struct wg_device *wg, in wg_receive_handshake_packet()
216 struct wg_device *wg = container_of(queue, struct wg_device, handshake_queue); in wg_packet_handshake_receive_worker()
516 static void wg_packet_consume_data(struct wg_device *wg, struct sk_buff *skb) in wg_packet_consume_data()
549 void wg_packet_receive(struct wg_device *wg, struct sk_buff *skb) in wg_packet_receive()
Dpeer.c21 struct wg_peer *wg_peer_create(struct wg_device *wg, in wg_peer_create()
168 void wg_peer_remove_all(struct wg_device *wg) in wg_peer_remove_all()
Dcookie.c20 struct wg_device *wg) in wg_cookie_checker_init()
199 struct wg_device *wg) in wg_cookie_message_consume()
Dsend.c110 void wg_packet_send_handshake_cookie(struct wg_device *wg, in wg_packet_send_handshake_cookie()
313 struct wg_device *wg = peer->device; in wg_packet_create_data()
Dnoise.c585 struct wg_device *wg) in wg_noise_handshake_consume_initiation()
729 struct wg_device *wg) in wg_noise_handshake_consume_response()