Skip to contentSkip to conversation

a question of mtu

DISCUSSION 陈炜 2 participants 2 messages Nov 22, 2002 – Dec 5, 2002 netfilter

lore
Share & tools
lore

陈炜

author
#0 lore raw

Hi,
I try to get the pmtu at the point of NF_IP_LOCAL_OUT.I write three sentence to do this.

struct sk_buff *sk_b = *skb;
struct rtable *r_t = (struct rtable *)sk_b->dst;
pmtu = r_t->u.dst.pmtu;

The result is 0,but in net/ipv4/ip_output.c/ip_queue_xmit2,rt->u.dst.pmtu is not 0.Does some one know the reason,thanks very much!

#1 lore raw
Quoted 8 lines · ????

Hi,
I try to get the pmtu at the point of NF_IP_LOCAL_OUT.I write three sentence to do this.

struct sk_buff *sk_b = *skb;
struct rtable *r_t = (struct rtable *)sk_b->dst;
pmtu = r_t->u.dst.pmtu;

The result is 0,but in net/ipv4/ip_output.c/ip_queue_xmit2,rt->u.dst.pmtu is not 0.Does some one know the reason,thanks very much!

and how is this related to netfilter development? This is a core networking issue, pleaes go to [email protected].

Signature · 5 lines
Live long and prosper
- Harald Welte / [email protected]               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M- 
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)