Go to the source code of this file.
Defines | |
#define | fip_if_isForwardingEnabled() fip_if[fip_packet_getIfNum()].forwardingEnabled |
.routingEnabled Access Function | |
Typedefs | |
typedef fip_ds6_index_t | fip_if6_index_t |
Inherit size from generic data structures. | |
typedef fip_ds6_searchStatus_t | fip_if6_searchStatus_t |
Inherit size from generic data structures. | |
Functions | |
Functions which act on parameters passed to the functions | |
void | fip_if_init (fip_ifnum_t ifnum, fip_llptraddr_t lladdr, uint16_t defaultPacketBufSizes[], unsigned char LLHdrSrcOffset, unsigned char LLHdrDestOffset, char *name, void(*ifProcess)(void), const fip_nd6_if_t *nd6ptr, const unsigned char validLLLengths[]) |
Initilize an Interface. | |
void | fip_if6_periodic (fip_ifnum_t ifnum) |
Perform periodic maintenance such as expiring IP addresses, running ND when required on our IP addresses, etc. | |
fip_return_t | fip_if_addLLAddress (fip_ifnum_t ifnum, fip_llptraddr_t lladdr, fip_bool_t preferred, fip_bool_t validForGPAutoconf) |
Add a link-layer address to an interface. | |
fip_return_t | fip_if6_addAutoconfAddress (fip_ifnum_t ifnum, unsigned char prefixIndex, unsigned char LLIndex) |
Add an auto-configured address based on the interface number, prefix, and link-layer address. | |
fip_return_t | fip_if6_addMulticastAddress (fip_ifnum_t ifnum, const fip_ip6addr_t *addr, fip_vlifetime_t validUntil, unsigned char PreferredLLAddrIndex, fip_bool_t hasPreferredLLAddr) |
Add an IPv6 Unicast Address to the Addressing Table. | |
fip_return_t | fip_if6_addUnicastAddress (fip_ifnum_t ifnum, const fip_ip6addr_t *addr, fip_vlifetime_t validUntil, fip_addrtype_t addrtype, unsigned char PreferredLLAddrIndex, fip_bool_t hasPreferredLLAddr) |
Add an IPv6 Unicast Address to the Addressing Table. | |
fip_return_t | fip_if6_addPrefix (fip_ifnum_t ifnum, const fip_ip6addr_t *prefix, unsigned char length, fip_vlifetime_t vlifetime, fip_bool_t advPrefix, fip_bool_t onLink) |
Add a prefix to the active prefix list, autoconfigure addresses based on that address, and if the interface has routing enabled you have the option of advertising that prefix. | |
void | fip_if6_setForwarding (fip_ifnum_t ifnum, fip_bool_t enabled) |
void | fip_if6_setRouter (fip_ifnum_t ifnum, fip_bool_t enabled, unsigned int defLifetime) |
fip_bool_t | fip_if6_isDestOnLink (fip_ifnum_t ifnum) |
Functions which act on the active packet buffer | |
void | fip_if6_addUpdateDefaultRouter (fip_ifnum_t ifnum, uint16_t routerLifetime, const fip_ip6addr_t *ipaddr) |
void | fip_if_newPacketSetup (void) |
Sets up a new packet buffer by setting link-layer address offsets & lengths. | |
fip_bool_t | fip_if6_isDestMyUnicast (fip_ifnum_t ifnum) |
Check if the destination IPv6 address in the active packet is one of our unicast addresses. | |
fip_bool_t | fip_if6_isDestMyMulticast (fip_ifnum_t ifnum) |
Check if the destination IPv6 address in the active packet is one of our multicast addresses. | |
unsigned char | fip_if6_shortenLLAOLength (unsigned char paddedLength) |
The TLLAO/SLLAO option has a length that is a multiple of 8, but we need to figure out what the actual length is as there might be some padding. | |
fip_llptraddr_t | fip_if6_getMyLL (unsigned char indexToMyUnicast) |
void | fip_if6_selectSrcAddress (void) |
Select the best source addresses based on destination, and copy to source. | |
const fip_ip6addr_t * | fip_if6_getDefaultRouter (fip_ifnum_t ifnum) |