zephyr/subsys/net/ip
Ravi kumar Veeramally a9a2b3ea91 net: sockets: Add socket api to support AF_PACKET
This commit adds packet socket support to socket api.
This version supports basic packet socket features.
Protocol family is AF_PACKET, type of socket is
SOCK_RAW and proto type is ETH_P_ALL. The user will
receive every packet (with L2 header) on the wire.
For TX, the subsystem expects that the user has set
all the protocol headers (L2 and L3) properly.

Networking subsystem doesn't verify or alter the headers while
sending or receiving the packets. This version supports packet
socket over Etherent only. Also combination of other family
and protocols doesn't work (i.e. Application can not open
packet-socket and non packet-socket together).

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
2019-02-07 14:43:30 +02:00
..
6lo.c net/6lo: Remove fragmentation function parameter on compression 2018-12-14 14:16:37 +01:00
6lo.h net/6lo: Remove fragmentation function parameter on compression 2018-12-14 14:16:37 +01:00
6lo_private.h
CMakeLists.txt net: core: Handle packets when packet sockets are enabled 2019-02-07 14:43:30 +02:00
Kconfig net: context: Add packet socket support 2019-02-07 14:43:30 +02:00
Kconfig.debug net/pkt: Add a debug option to track free pkt access more easily 2019-02-01 14:34:38 +02:00
Kconfig.ipv4 net/icmpv4: Disable broadcast echo request reply by default 2019-01-08 13:42:18 +02:00
Kconfig.ipv6
Kconfig.mgmt
Kconfig.stack net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
Kconfig.stats net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
connection.c net: context: Add packet socket support 2019-02-07 14:43:30 +02:00
connection.h net: ip: Add protocol family type to conn handler 2019-02-07 14:43:30 +02:00
dhcpv4.c net: ip: Add protocol family type to conn handler 2019-02-07 14:43:30 +02:00
dhcpv4.h net/dhcpv4: Switch to new net_pkt API 2019-02-01 14:34:38 +02:00
icmpv4.c net/icmpv4: Remove useless create, get and set header functions 2019-02-01 14:34:38 +02:00
icmpv4.h net/icmpv4: Remove useless create, get and set header functions 2019-02-01 14:34:38 +02:00
icmpv6.c net/icmpv6: Remove various useless get/set hdr functions 2019-02-01 14:34:38 +02:00
icmpv6.h net/ipv6: Switch MLD join, leave and report to new net_pkt API 2019-02-01 14:34:38 +02:00
ipv4.c net/ip: Let's make public the 2 utility unions for ip/proto headers 2019-02-01 14:34:38 +02:00
ipv4.h net/ipv4: Add new API to create/finalize IPv4 headers. 2019-02-01 14:34:38 +02:00
ipv4_autoconf.c net/ipv4: Move autoconf to new net_pkt API 2019-02-01 14:34:38 +02:00
ipv4_autoconf_internal.h
ipv6.c net/ip: Let's make public the 2 utility unions for ip/proto headers 2019-02-01 14:34:38 +02:00
ipv6.h net/ipv6: Switch sending fragmented IPv6 packet to new API 2019-02-01 14:34:38 +02:00
ipv6_fragment.c net/ipv6: Switch sending fragmented IPv6 packet to new API 2019-02-01 14:34:38 +02:00
ipv6_mld.c net/ipv6: Switch MLD join, leave and report to new net_pkt API 2019-02-01 14:34:38 +02:00
ipv6_nbr.c net/ipv6: Switch IPv6 sending preparation to new net_pkt API 2019-02-01 14:34:38 +02:00
nbr.c
nbr.h
net_context.c net: context: Add packet socket support 2019-02-07 14:43:30 +02:00
net_core.c net: core: Handle packets when packet sockets are enabled 2019-02-07 14:43:30 +02:00
net_if.c net/ipv6: Switch IPv6 sending preparation to new net_pkt API 2019-02-01 14:34:38 +02:00
net_mgmt.c
net_pkt.c net: pkt: Set default data_len to iface MTU 2019-02-07 14:43:30 +02:00
net_private.h net/ip: Let's make public the 2 utility unions for ip/proto headers 2019-02-01 14:34:38 +02:00
net_shell.c net: shell: Remove HTTP command as it is obsolete 2019-02-01 19:05:56 -05:00
net_shell.h
net_stats.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
net_stats.h net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
net_tc.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
net_tc_mapping.h
packet_socket.c net: sockets: Add socket api to support AF_PACKET 2019-02-07 14:43:30 +02:00
packet_socket.h net: core: Handle packets when packet sockets are enabled 2019-02-07 14:43:30 +02:00
promiscuous.c
route.c net: rpl: Remove the deprecated code 2019-01-13 09:40:36 -05:00
route.h
tcp.c net: ip: Add protocol family type to conn handler 2019-02-07 14:43:30 +02:00
tcp_internal.h net: ip: Add protocol family type to conn handler 2019-02-07 14:43:30 +02:00
trickle.c
udp.c net: ip: Add protocol family type to conn handler 2019-02-07 14:43:30 +02:00
udp_internal.h net: ip: Add protocol family type to conn handler 2019-02-07 14:43:30 +02:00
utils.c net/core: Each and every received packet are being set to overwrite 2019-02-01 14:34:38 +02:00