projects
/
profile
/
ivi
/
iftop.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Import to git/gerrit
[profile/ivi/iftop.git]
/
serv_hash.h
1
/*
2
* addr_hash.h:
3
*
4
*/
5
6
#ifndef __SERV_HASH_H_ /* include guard */
7
#define __SERV_HASH_H_
8
9
#include <sys/types.h>
10
#include <sys/socket.h>
11
#include <netinet/in.h>
12
#include <arpa/inet.h>
13
#include "hash.h"
14
15
typedef struct {
16
int port;
17
int protocol;
18
} ip_service;
19
20
hash_type* serv_hash_create(void);
21
void serv_hash_initialise(hash_type* sh);
22
23
#endif /* __SERV_HASH_H_ */