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

int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp);
int listen_socket(unsigned int ip, int port, char *inf);
int raw_socket(int ifindex);

#endif