Getting the transport header in rawv6_sendmsg
Prashant Batra <[email protected]>
| Newsgroups | org.kernel.vger.linux-newbie |
|---|---|
| Message-ID | <CAG+XuE7UU75YK2betJpFOD5e0RA9=Kxfg-zoZUtzZW1dQz2ZFg@mail.gmail.com> |
Hi,
I wanted to get transport header in function -
static int rawv6_sendmsg(struct kiocb *iocb, struct sock *sk,
struct msghdr *msg, size_t len)
The function is defined in “/net/ipv6/raw.c”
In the function, flow, “fl” is getting filled using the “sk”
structure, but as this is raw socket send, it only cares about the IP
addresses.
I need to do access the ports filled in by the user-space application.
Can some help me here?
Thanks,
Prashant
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs