projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bf13819
)
Mark functions not used in other source files static.
author
Ben Pfaff
<blp@nicira.com>
Mon, 4 Aug 2008 21:47:27 +0000
(14:47 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 4 Aug 2008 21:47:27 +0000
(14:47 -0700)
lib/flow.c
patch
|
blob
|
history
diff --git
a/lib/flow.c
b/lib/flow.c
index c8e647aa83054db0830983dd222b934ca442ef44..7a943d71326fd63a604ccf116a29c40074b9d752 100644
(file)
--- a/
lib/flow.c
+++ b/
lib/flow.c
@@
-44,7
+44,7
@@
#include "vlog.h"
#define THIS_MODULE VLM_flow
#include "vlog.h"
#define THIS_MODULE VLM_flow
-struct ip_header *
+st
atic st
ruct ip_header *
pull_ip(struct buffer *packet)
{
if (packet->size >= IP_HEADER_LEN) {
pull_ip(struct buffer *packet)
{
if (packet->size >= IP_HEADER_LEN) {
@@
-57,7
+57,7
@@
pull_ip(struct buffer *packet)
return NULL;
}
return NULL;
}
-struct tcp_header *
+st
atic st
ruct tcp_header *
pull_tcp(struct buffer *packet)
{
if (packet->size >= TCP_HEADER_LEN) {
pull_tcp(struct buffer *packet)
{
if (packet->size >= TCP_HEADER_LEN) {
@@
-70,13
+70,13
@@
pull_tcp(struct buffer *packet)
return NULL;
}
return NULL;
}
-struct udp_header *
+st
atic st
ruct udp_header *
pull_udp(struct buffer *packet)
{
return buffer_try_pull(packet, UDP_HEADER_LEN);
}
pull_udp(struct buffer *packet)
{
return buffer_try_pull(packet, UDP_HEADER_LEN);
}
-struct eth_header *
+st
atic st
ruct eth_header *
pull_eth(struct buffer *packet)
{
return buffer_try_pull(packet, ETH_HEADER_LEN);
pull_eth(struct buffer *packet)
{
return buffer_try_pull(packet, ETH_HEADER_LEN);