lvs-users
|
To: | <lvs-users@xxxxxxxxxxxxxxxxxxxxxx> |
---|---|
Subject: | The meaning of *portp? |
From: | "Jytsai" <880579@xxxxxxxxxxx> |
Date: | Thu, 4 May 2000 12:51:20 +0800 |
Hello, everyone: When I trace the ip_vs.c into *ip_vs_sched_persist( ), ( line 1898 ) I can not understand the meaning of local variable *portp. There is an assignment as following: portp = (__u16 *)&(((char *)iph)[iph->ihl*4]); Doesn't it mean that portp points to "the address" of "the value of ip header length"? But latter , portp[1] is used to compared with svc->port ..... Therefore, *portp should be a template TCP/UDP port pointer? Could someone give me an answer? Thanks a lot! |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | LVS 0.9.12 (+Intel e100 driver) Timed Out Error, DongHyun Kim |
---|---|
Next by Date: | Re: LVS 0.9.12 (+Intel e100 driver) Timed Out Error, Julian Anastasov |
Previous by Thread: | LVS 0.9.12 (+Intel e100 driver) Timed Out Error, DongHyun Kim |
Next by Thread: | Re: The meaning of *portp?, Stephen Zander |
Indexes: | [Date] [Thread] [Top] [All Lists] |