inet_sock.rst 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .. SPDX-License-Identifier: GPL-2.0
  2. .. Copyright (C) 2023 Google LLC
  3. ==========================================
  4. inet_sock struct fast path usage breakdown
  5. ==========================================
  6. Type Name fastpath_tx_access fastpath_rx_access comment
  7. ..struct ..inet_sock
  8. struct_sock sk read_mostly read_mostly tcp_init_buffer_space,tcp_init_transfer,tcp_finish_connect,tcp_connect,tcp_send_rcvq,tcp_send_syn_data
  9. struct_ipv6_pinfo* pinet6 - -
  10. be16 inet_sport read_mostly - __tcp_transmit_skb
  11. be32 inet_daddr read_mostly - ip_select_ident_segs
  12. be32 inet_rcv_saddr - -
  13. be16 inet_dport read_mostly - __tcp_transmit_skb
  14. u16 inet_num - -
  15. be32 inet_saddr - -
  16. s16 uc_ttl read_mostly - __ip_queue_xmit/ip_select_ttl
  17. u16 cmsg_flags - -
  18. struct_ip_options_rcu* inet_opt read_mostly - __ip_queue_xmit
  19. u16 inet_id read_mostly - ip_select_ident_segs
  20. u8 tos read_mostly - ip_queue_xmit
  21. u8 min_ttl - -
  22. u8 mc_ttl - -
  23. u8 pmtudisc - -
  24. u8:1 recverr - -
  25. u8:1 is_icsk - -
  26. u8:1 freebind - -
  27. u8:1 hdrincl - -
  28. u8:1 mc_loop - -
  29. u8:1 transparent - -
  30. u8:1 mc_all - -
  31. u8:1 nodefrag - -
  32. u8:1 bind_address_no_port - -
  33. u8:1 recverr_rfc4884 - -
  34. u8:1 defer_connect read_mostly - tcp_sendmsg_fastopen
  35. u8 rcv_tos - -
  36. u8 convert_csum - -
  37. int uc_index - -
  38. int mc_index - -
  39. be32 mc_addr - -
  40. struct_ip_mc_socklist* mc_list - -
  41. struct_inet_cork_full cork read_mostly - __tcp_transmit_skb
  42. struct local_port_range - -