mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ofpbuf: Rename trivial _get_ functions without the "get".
Code reads better without the "get", for example "ofpbuf_l3()" v.s. "ofpbuf_get_l3()". L4 payoad access functions still use the "get" (e.g., "ofpbuf_get_tcp_payload()"). Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
This commit is contained in:
@@ -310,7 +310,7 @@ tcp_reader_run(struct tcp_reader *r, const struct flow *flow,
|
||||
|| !l7) {
|
||||
return NULL;
|
||||
}
|
||||
tcp = ofpbuf_get_l4(packet);
|
||||
tcp = ofpbuf_l4(packet);
|
||||
flags = TCP_FLAGS(tcp->tcp_ctl);
|
||||
l7_length = (char *) ofpbuf_tail(packet) - l7;
|
||||
seq = ntohl(get_16aligned_be32(&tcp->tcp_seq));
|
||||
|
Reference in New Issue
Block a user