
648 Chapter 5—Mobile IPv6
2513 mopt_auth->ip6moad_type = IP6_MHOPT_BAUTH;
2514 mopt_auth->ip6moad_len = IP6MOPT_AUTHDATA_SIZE - 2;
2515 mip6_calculate_authenticator(key_bm, (caddr_t)(mopt_auth + 1),
2516 dstcoa, src, (caddr_t)ip6ma, ip6ma_size,
2517 ba_size + refresh_size + sizeof(struct
ip6_mh_opt_auth_data),
2518 IP6MOPT_AUTHDATA_SIZE - 2);
2519 }
mip6_cncore.c
– Line 2517 is broken here for layout reasons. However, it is a single line of code.
2504–2509 A Binding Refresh Advice option is created. The refresh interval is represented in
units of 4 seconds.
2511–2519 A Binding Authorization Data option is created. The authentication data is
computed by