code: func StringToBondXmitHashPolicy(s string) BondXmitHashPolicy {
  	lacp, ok := StringToBondXmitHashPolicyMap[s]
  	if !ok {
  		return BOND_XMIT_HASH_POLICY_UNKNOWN
  	}
  	return lacp
  }
docs: // StringToBondXmitHashPolicy returns bond lacp arte, or uknonw is the s is invalid.