Getting the transport header in rawv6_sendmsg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs


[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux