]> Git Repo - qemu.git/commit
colo: Consolidate the duplicate code chunk into a routine
authorMao Zhongyi <[email protected]>
Fri, 13 Oct 2017 06:32:09 +0000 (14:32 +0800)
committerJason Wang <[email protected]>
Mon, 13 Nov 2017 07:46:37 +0000 (15:46 +0800)
commit8fa5ad6dfb66b6c695aa6a6b54b7031c90345a37
tree92230f57345c9c4ac9b2663de7d36e50483dc065
parent3463218c6cb6326f3b428935209aa0828d69ee42
colo: Consolidate the duplicate code chunk into a routine

Consolidate the code that extract the ip address(src,dst) and
port number(src,dst) of the packet into a separate routine
extract_ip_and_port() since the same chunk of code is called
from two place.

Cc: Zhang Chen <[email protected]>
Cc: Li Zhijian <[email protected]>
Cc: Jason Wang <[email protected]>
Signed-off-by: Mao Zhongyi <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
net/colo.c
net/colo.h
This page took 0.025207 seconds and 4 git commands to generate.