summaryrefslogtreecommitdiffhomepage
path: root/networking/udhcp/socket.h
blob: 66179d4f5d6b9cd029ed4b68491ab885d76a2a0b (plain)
1
2
3
4
5
6
7
8
/* socket.h */
#ifndef _SOCKET_H
#define _SOCKET_H

int read_interface(char *interface, int *ifindex, uint32_t *addr, uint8_t *arp);
int listen_socket(uint32_t ip, int port, char *inf);

#endif