Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/ipv6/exthdrs.c ipv6_push_rthdr4() -> seg6_push_hmac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 1 | saddr | 4096-ptr_max |
| PARAM_VALUE | 2 | srh | 4096-ptr_max |
| PARAM_VALUE | 2 | srh->segments | 4096-ptr_max |
| BUF_SIZE | 2 | srh | 1-s32max |
| BUF_SIZE | 2 | srh | 1-s32max |
| DATA_SOURCE | 1 | saddr | $4 |
| DATA_SOURCE | 2 | srh | r skb_push |
| BIT_INFO | 2 | srh->flags | 0x8,0xff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/ipv6/seg6_iptunnel.c __seg6_do_srh_encap() -> seg6_push_hmac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 2 | srh | 4096-ptr_max |
| PARAM_VALUE | 2 | srh->nexthdr | 4,41,143 |
| PARAM_VALUE | 2 | srh->segments | 4096-ptr_max |
| CAPPED_DATA | 0 | net->ipv6.seg6_data->tun_src | 1 |
| BIT_INFO | 2 | srh->flags | 0x8,0xff |
| BIT_INFO | 2 | srh->nexthdr | 0x0,0xaf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 2 | srh | unit_byte |
net/ipv6/seg6_iptunnel.c __seg6_do_srh_inline() -> seg6_push_hmac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | srh | 4096-ptr_max |
| PARAM_VALUE | 2 | srh->segments | 4096-ptr_max |
| DATA_SOURCE | 0 | net | r skb_dst_dev_net |
| BIT_INFO | 2 | srh->flags | 0x8,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | srh | unit_byte |
net/ipv6/seg6_iptunnel.c seg6_do_srh_encap_red() -> seg6_push_hmac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 2 | srh | 4096-ptr_max |
| PARAM_VALUE | 2 | srh->nexthdr | 4,41,143 |
| CAPPED_DATA | 0 | net->ipv6.seg6_data->tun_src | 1 |
| BIT_INFO | 2 | srh->flags | 0x8,0xff |
| BIT_INFO | 2 | srh->nexthdr | 0x0,0xaf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 2 | srh | unit_byte |
| HALF_LOCKED2 | rcu_read |